Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.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.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zeroCrossing.u|zeroCrossing.enable|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zeroCrossing.u|zeroCrossing.enable|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.00117/0.001171, allocations: 183.9 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.501/1.501, allocations: 222.9 MB / 241.1 MB, free: 15.17 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.589/2.589, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 71.88 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9631/0.9647, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing): time 0.002567/0.9673, allocations: 0.8196 MB / 1.168 GB, free: 3.035 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001934/0.9693, allocations: 1.204 MB / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.403e-05/0.9694, allocations: 7.938 kB / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.435e-05/0.9695, allocations: 7.922 kB / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.9696, allocations: 11.81 kB / 1.169 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006351/0.9702, allocations: 158.8 kB / 1.169 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.9705, allocations: 159.6 kB / 1.17 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.9706, allocations: 28.23 kB / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.9708, allocations: 55.89 kB / 1.17 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.9709, allocations: 67.78 kB / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.805e-05/0.9709, allocations: 16 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.328e-05/0.971, allocations: 27.98 kB / 1.17 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.496e-05/0.9711, allocations: 19.86 kB / 1.17 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.337e-05/0.9712, allocations: 55.77 kB / 1.17 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.9714, allocations: 147.5 kB / 1.17 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.9714, allocations: 4 kB / 1.17 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.535e-06/0.9714, allocations: 0 / 1.17 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.9715, allocations: 4 kB / 1.17 GB, free: 1.062 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008539/0.9723, allocations: 442.6 kB / 1.17 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.9724, allocations: 8.031 kB / 1.17 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.202e-05/0.9725, allocations: 16.75 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.9726, allocations: 177.5 kB / 1.171 GB, free: 352 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.9726, allocations: 12.31 kB / 1.171 GB, free: 340 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.9727, allocations: 16.36 kB / 1.171 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003241/0.973, allocations: 98.19 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.973, allocations: 192 / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.9731, allocations: 3.938 kB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.9731, allocations: 0 / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003377/0.9734, allocations: 91.91 kB / 1.171 GB, free: 124 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006545/0.9741, allocations: 380.6 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.9744, allocations: 90.66 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.9746, allocations: 64.75 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.9746, allocations: 0 / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003048/0.9749, allocations: 127.2 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=12): time 2.465e-06/0.9749, allocations: 0 / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12): time 0.0006996/0.9756, allocations: 205.5 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.9757, allocations: 59.34 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.9758, allocations: 127.1 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.9758, allocations: 29.7 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.142e-05/0.9759, allocations: 104 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.976, allocations: 31.66 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.613e-05/0.976, allocations: 45.69 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.9762, allocations: 334.7 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000256/0.9764, allocations: 71.94 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/0.9767, allocations: 112.2 kB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004358/0.9771, allocations: 187.3 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.9772, allocations: 0 / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006312/0.9778, allocations: 271.1 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.056e-05/0.9778, allocations: 36.52 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.9779, allocations: 4 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.9779, allocations: 128 / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.978, allocations: 31.97 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.9781, allocations: 3.938 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002532/0.9783, allocations: 43.89 kB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.9784, allocations: 12 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,zeroCrossing.u_pos,$PRE.zeroCrossing.u_pos,zeroCrossing.disable,$PRE.zeroCrossing.disable,zeroCrossing.enable,$PRE.zeroCrossing.enable,zeroCrossing.y,booPul1.y,$PRE.booPul1.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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.0001166/0.9785, allocations: 125.8 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.116e-05/0.9785, allocations: 11.91 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004734/0.979, allocations: 173.8 kB / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.979, allocations: 0 / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.979, allocations: 0 / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.713e-05/0.9791, allocations: 88.95 kB / 1.174 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.9791, allocations: 8 kB / 1.174 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.929e-05/0.9792, allocations: 19.91 kB / 1.174 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.9793, allocations: 15.98 kB / 1.174 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005253/0.9798, allocations: 240.8 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005285/0.9803, allocations: 339.3 kB / 1.174 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001994/0.9805, allocations: 64.05 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.82e-05/0.9806, allocations: 96.64 kB / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of Backend: time 4.71e-07/0.9806, allocations: 0 / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007713/0.9814, allocations: 276 kB / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006645/0.9821, allocations: 0.6404 MB / 1.175 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of Templates: time 0.005697/0.9878, allocations: 2.132 MB / 1.177 GB, free: 9.32 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_ZeroCrossing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches