Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001378/0.001378, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001493/0.001493, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.408/1.408, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.302/2.302, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 67.89 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9623/0.9638, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.002119/0.9659, allocations: 1.178 MB / 1.09 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00233/0.9683, allocations: 2.161 MB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.384e-05/0.9684, allocations: 2.125 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.156e-05/0.9684, allocations: 21.19 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001834/0.9686, allocations: 107.4 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002879/0.9715, allocations: 1.393 MB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001568/0.9731, allocations: 1.299 MB / 1.095 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.913e-05/0.9732, allocations: 19.31 kB / 1.095 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006551/0.9738, allocations: 479.2 kB / 1.095 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007174/0.9746, allocations: 447 kB / 1.096 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002627/0.9748, allocations: 105.5 kB / 1.096 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003245/0.9752, allocations: 119.5 kB / 1.096 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.39e-05/0.9753, allocations: 59.17 kB / 1.096 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005304/0.9758, allocations: 392.1 kB / 1.096 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.977, allocations: 0.9566 MB / 1.097 GB, free: 1 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.977, allocations: 0 / 1.097 GB, free: 1 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.913e-06/0.9771, allocations: 0 / 1.097 GB, free: 1 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.866e-06/0.9771, allocations: 0 / 1.097 GB, free: 1 MB / 0.8575 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.001338/0.9784, allocations: 1.173 MB / 1.098 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.9785, allocations: 13.69 kB / 1.098 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002243/0.9787, allocations: 65.39 kB / 1.098 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.9789, allocations: 229.7 kB / 1.099 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.727e-05/0.979, allocations: 44.56 kB / 1.099 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/0.9791, allocations: 65.5 kB / 1.099 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/0.9795, allocations: 215.4 kB / 1.099 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.9795, allocations: 0.9375 kB / 1.099 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/0.9795, allocations: 9.562 kB / 1.099 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.9795, allocations: 3.328 kB / 1.099 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.9797, allocations: 72.81 kB / 1.099 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.9809, allocations: 0.8398 MB / 1.1 GB, free: 15 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.9812, allocations: 329.1 kB / 1.1 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.9814, allocations: 139.3 kB / 1.1 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.9814, allocations: 7.891 kB / 1.1 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006609/0.9821, allocations: 466.5 kB / 1.101 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=45): time 2.505e-06/0.9821, allocations: 0 / 1.101 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45): time 0.001277/0.9834, allocations: 0.5645 MB / 1.101 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002718/0.9836, allocations: 432.9 kB / 1.102 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000379/0.984, allocations: 299.5 kB / 1.102 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001816/0.9842, allocations: 66.62 kB / 1.102 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/0.9844, allocations: 157.8 kB / 1.102 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.9846, allocations: 100.5 kB / 1.102 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006282/0.9852, allocations: 273.4 kB / 1.103 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001976/0.9854, allocations: 354 kB / 1.103 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.9865, allocations: 422.9 kB / 1.103 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.9878, allocations: 0.7058 MB / 1.104 GB, free: 12 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.9891, allocations: 1.198 MB / 1.105 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.315e-06/0.9891, allocations: 2.719 kB / 1.105 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003381/0.9925, allocations: 1.715 MB / 1.107 GB, free: 9.992 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004484/0.993, allocations: 482.7 kB / 1.107 GB, free: 9.492 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.928e-05/0.993, allocations: 10.56 kB / 1.107 GB, free: 9.492 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.561e-05/0.9931, allocations: 13.59 kB / 1.107 GB, free: 9.492 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.653e-05/0.9932, allocations: 32.98 kB / 1.107 GB, free: 9.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.785e-05/0.9932, allocations: 23.69 kB / 1.107 GB, free: 9.473 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002456/0.9957, allocations: 404.6 kB / 1.108 GB, free: 9.426 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000236/0.9959, allocations: 96.92 kB / 1.108 GB, free: 9.418 MB / 0.8731 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.0005176/0.9965, allocations: 219 kB / 1.108 GB, free: 9.254 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.9966, allocations: 46.39 kB / 1.108 GB, free: 9.23 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.969e-05/0.9967, allocations: 37.09 kB / 1.108 GB, free: 9.203 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.9967, allocations: 6.125 kB / 1.108 GB, free: 9.203 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.9967, allocations: 7.875 kB / 1.108 GB, free: 9.199 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.992e-05/0.9968, allocations: 119.1 kB / 1.108 GB, free: 9.078 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.926e-05/0.9969, allocations: 15.11 kB / 1.108 GB, free: 9.074 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.997, allocations: 13.64 kB / 1.108 GB, free: 9.07 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.9971, allocations: 63.3 kB / 1.108 GB, free: 9.043 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001342/0.9985, allocations: 1.565 MB / 1.11 GB, free: 7.75 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001132/0.9996, allocations: 1.615 MB / 1.111 GB, free: 6.375 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002644/0.9999, allocations: 163.9 kB / 1.112 GB, free: 6.316 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002483/1, allocations: 189.1 kB / 1.112 GB, free: 6.211 MB / 0.8731 GB Notification: Performance of Backend: time 1.002e-06/1, allocations: 0 / 1.112 GB, free: 6.211 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.004963/1.005, allocations: 1.727 MB / 1.113 GB, free: 4.875 MB / 0.8731 GB Notification: Performance of SimCode: time 0.002179/1.007, allocations: 0.9971 MB / 1.114 GB, free: 4.102 MB / 0.8731 GB Notification: Performance of Templates: time 0.0273/1.035, allocations: 12.03 MB / 1.126 GB, free: 3.121 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches