Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booPul_a1.y|booPul_a2.y|booPul_a3.y|booPul_a4.y|booPul_a5.y|booPul_b1.y|booPul_b2.y|booPul_b3.y|booPul_b4.y|booPul_b5.y|booPul_c1.y|booPul_c2.y|booPul_c3.y|booPul_c4.y|booPul_c5.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booPul_a1.y|booPul_a2.y|booPul_a3.y|booPul_a4.y|booPul_a5.y|booPul_b1.y|booPul_b2.y|booPul_b3.y|booPul_b4.y|booPul_b5.y|booPul_c1.y|booPul_c2.y|booPul_c3.y|booPul_c4.y|booPul_c5.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001159, allocations: 116.1 kB / 16.42 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 187.9 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.574/2.574, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001975, allocations: 67.91 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.152/1.154, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.002346/1.156, allocations: 1.173 MB / 1.168 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002747/1.159, allocations: 2.183 MB / 1.171 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/1.159, allocations: 0 / 1.171 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 6.8e-05/1.16, allocations: 23.62 kB / 1.171 GB, free: 496 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002361/1.16, allocations: 99.27 kB / 1.171 GB, free: 396 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003357/1.163, allocations: 1.394 MB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001586/1.165, allocations: 1.287 MB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.57e-05/1.165, allocations: 24.73 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005542/1.165, allocations: 483.2 kB / 1.174 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005767/1.166, allocations: 438.8 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000195/1.166, allocations: 104 kB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002487/1.166, allocations: 120 kB / 1.174 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.25e-05/1.167, allocations: 59.77 kB / 1.175 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004265/1.167, allocations: 395 kB / 1.175 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00098/1.168, allocations: 0.964 MB / 1.176 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.168, allocations: 3.938 kB / 1.176 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.405e-06/1.168, allocations: 0 / 1.176 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.556e-06/1.168, allocations: 0 / 1.176 GB, free: 11.19 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001394/1.169, allocations: 1.168 MB / 1.177 GB, free: 9.871 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/1.169, allocations: 8.922 kB / 1.177 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001994/1.17, allocations: 64.64 kB / 1.177 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/1.17, allocations: 224.4 kB / 1.177 GB, free: 9.547 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.128e-05/1.17, allocations: 36.38 kB / 1.177 GB, free: 9.512 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/1.17, allocations: 64.36 kB / 1.177 GB, free: 9.449 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/1.17, allocations: 226.8 kB / 1.178 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/1.17, allocations: 192 / 1.178 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/1.17, allocations: 11.92 kB / 1.178 GB, free: 9.164 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-06/1.17, allocations: 3.938 kB / 1.178 GB, free: 9.16 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/1.171, allocations: 67.78 kB / 1.178 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000877/1.171, allocations: 0.8406 MB / 1.178 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/1.172, allocations: 327.2 kB / 1.179 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/1.172, allocations: 140.8 kB / 1.179 GB, free: 7.52 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/1.172, allocations: 15.98 kB / 1.179 GB, free: 7.504 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005601/1.172, allocations: 458.7 kB / 1.179 GB, free: 6.992 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=45): time 2.385e-06/1.172, allocations: 0 / 1.179 GB, free: 6.992 MB / 0.9044 GB Notification: Performance of matching and sorting (n=45): time 0.001002/1.174, allocations: 0.5605 MB / 1.18 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000218/1.174, allocations: 443.2 kB / 1.18 GB, free: 5.895 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/1.174, allocations: 296.2 kB / 1.181 GB, free: 5.594 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001382/1.174, allocations: 69.69 kB / 1.181 GB, free: 5.52 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/1.174, allocations: 161.3 kB / 1.181 GB, free: 5.355 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.157e-05/1.174, allocations: 90.86 kB / 1.181 GB, free: 5.266 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004418/1.175, allocations: 274.1 kB / 1.181 GB, free: 4.988 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001521/1.175, allocations: 358.8 kB / 1.182 GB, free: 4.629 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007971/1.176, allocations: 421.2 kB / 1.182 GB, free: 4.219 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009793/1.177, allocations: 0.7067 MB / 1.183 GB, free: 3.375 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/1.178, allocations: 1.192 MB / 1.184 GB, free: 1.953 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/1.178, allocations: 0 / 1.184 GB, free: 1.953 MB / 0.9044 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002599/1.181, allocations: 1.729 MB / 1.185 GB, free: 124 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003173/1.181, allocations: 477.4 kB / 1.186 GB, free: 15.56 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/1.181, allocations: 12 kB / 1.186 GB, free: 15.55 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.878e-05/1.181, allocations: 12 kB / 1.186 GB, free: 15.54 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.415e-05/1.181, allocations: 31.86 kB / 1.186 GB, free: 15.51 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.429e-05/1.181, allocations: 23.92 kB / 1.186 GB, free: 15.48 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/1.183, allocations: 403.5 kB / 1.186 GB, free: 15.09 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/1.184, allocations: 99.92 kB / 1.186 GB, free: 14.99 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 (booPul_c5.y,$PRE.booPul_c5.y,$whenCondition29,$whenCondition30,booPul_b5.y,$PRE.booPul_b5.y,$whenCondition27,$whenCondition28,booPul_a5.y,$PRE.booPul_a5.y,$whenCondition25,$whenCondition26,booPul_c4.y,$PRE.booPul_c4.y,$whenCondition23,$whenCondition24,booPul_b4.y,$PRE.booPul_b4.y,$whenCondition21,$whenCondition22,booPul_a4.y,$PRE.booPul_a4.y,$whenCondition19,$whenCondition20,booPul_c3.y,$PRE.booPul_c3.y,$whenCondition17,$whenCondition18,booPul_b3.y,$PRE.booPul_b3.y,$whenCondition15,$whenCondition16,booPul_a3.y,$PRE.booPul_a3.y,$whenCondition13,$whenCondition14,booPul_c2.y,$PRE.booPul_c2.y,$whenCondition11,$whenCondition12,booPul_b2.y,$PRE.booPul_b2.y,$whenCondition9,$whenCondition10,booPul_a2.y,$PRE.booPul_a2.y,$whenCondition7,$whenCondition8,booPul_c1.y,$PRE.booPul_c1.y,$whenCondition5,$whenCondition6,booPul_b1.y,$PRE.booPul_b1.y,$whenCondition3,$whenCondition4,booPul_a1.y,$PRE.booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003885/1.184, allocations: 213.6 kB / 1.187 GB, free: 14.78 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/1.184, allocations: 51.45 kB / 1.187 GB, free: 14.73 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.67e-05/1.184, allocations: 46.08 kB / 1.187 GB, free: 14.68 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/1.184, allocations: 4 kB / 1.187 GB, free: 14.67 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/1.184, allocations: 7.984 kB / 1.187 GB, free: 14.66 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.422e-05/1.184, allocations: 108.7 kB / 1.187 GB, free: 14.54 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.125e-05/1.184, allocations: 15.98 kB / 1.187 GB, free: 14.52 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/1.184, allocations: 19.98 kB / 1.187 GB, free: 14.5 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.523e-05/1.185, allocations: 55.89 kB / 1.187 GB, free: 14.45 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009908/1.186, allocations: 1.565 MB / 1.189 GB, free: 12.87 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009784/1.187, allocations: 1.621 MB / 1.19 GB, free: 11.22 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002139/1.187, allocations: 155.8 kB / 1.19 GB, free: 11.07 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001596/1.187, allocations: 191.1 kB / 1.19 GB, free: 10.89 MB / 0.92 GB Notification: Performance of Backend: time 2.7e-07/1.187, allocations: 0 / 1.19 GB, free: 10.89 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003686/1.191, allocations: 1.729 MB / 1.192 GB, free: 8.969 MB / 0.92 GB Notification: Performance of SimCode: time 0.001733/1.192, allocations: 0.998 MB / 1.193 GB, free: 7.93 MB / 0.92 GB Notification: Performance of Templates: time 0.02463/1.217, allocations: 12.03 MB / 1.205 GB, free: 12.06 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches