Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 112.3 kB / 16.42 MB, free: 6.527 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.001531/0.001531, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.641/1.641, 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 12.0.0-master/package.mo): time 2.77/2.77, allocations: 472.7 MB / 0.746 GB, free: 492 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 67.84 kB / 1.07 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047/1.049, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002676/1.052, allocations: 0.7507 MB / 1.227 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001878/1.054, allocations: 1.151 MB / 1.228 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.093e-05/1.054, allocations: 0 / 1.228 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.435e-05/1.054, allocations: 3.938 kB / 1.228 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.118e-05/1.054, allocations: 15.86 kB / 1.228 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005855/1.055, allocations: 135.4 kB / 1.228 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001906/1.055, allocations: 111.8 kB / 1.228 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/1.055, allocations: 27.97 kB / 1.228 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.668e-05/1.055, allocations: 43.91 kB / 1.229 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/1.055, allocations: 47.81 kB / 1.229 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.166e-05/1.055, allocations: 12 kB / 1.229 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.56e-05/1.055, allocations: 23.98 kB / 1.229 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/1.055, allocations: 7.984 kB / 1.229 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.553e-05/1.055, allocations: 43.84 kB / 1.229 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002252/1.056, allocations: 112.2 kB / 1.229 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/1.056, allocations: 8 kB / 1.229 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.532e-06/1.056, allocations: 0 / 1.229 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.222e-05/1.056, allocations: 0 / 1.229 GB, free: 11.05 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006617/1.056, allocations: 412.8 kB / 1.229 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/1.056, allocations: 8.031 kB / 1.229 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.668e-05/1.057, allocations: 8.938 kB / 1.229 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/1.057, allocations: 180.2 kB / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/1.057, allocations: 4.375 kB / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/1.057, allocations: 8.375 kB / 1.229 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/1.057, allocations: 70.22 kB / 1.229 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/1.057, allocations: 4.125 kB / 1.229 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.364e-05/1.057, allocations: 3.938 kB / 1.229 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/1.057, allocations: 0 / 1.229 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/1.057, allocations: 51.88 kB / 1.229 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000658/1.058, allocations: 324.8 kB / 1.23 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/1.058, allocations: 62.55 kB / 1.23 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/1.058, allocations: 36.95 kB / 1.23 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/1.058, allocations: 4 kB / 1.23 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003186/1.059, allocations: 91.3 kB / 1.23 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.644e-06/1.059, allocations: 0 / 1.23 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0004735/1.059, allocations: 133.6 kB / 1.23 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.207e-05/1.059, allocations: 55.41 kB / 1.23 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/1.059, allocations: 121.8 kB / 1.23 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.111e-05/1.059, allocations: 33.7 kB / 1.23 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/1.059, allocations: 92.14 kB / 1.23 GB, free: 9.172 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/1.059, allocations: 35.78 kB / 1.23 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.263e-05/1.06, allocations: 37.7 kB / 1.23 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001812/1.06, allocations: 314.8 kB / 1.231 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/1.06, allocations: 51.97 kB / 1.231 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/1.06, allocations: 88.25 kB / 1.231 GB, free: 8.625 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/1.06, allocations: 137.9 kB / 1.231 GB, free: 8.469 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/1.06, allocations: 7.938 kB / 1.231 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004801/1.061, allocations: 203.5 kB / 1.231 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/1.061, allocations: 41.69 kB / 1.231 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.061, allocations: 0 / 1.231 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/1.061, allocations: 4 kB / 1.231 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.89e-05/1.061, allocations: 11.98 kB / 1.231 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/1.061, allocations: 3.984 kB / 1.231 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/1.061, allocations: 40.03 kB / 1.231 GB, free: 8.145 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/1.061, allocations: 11.98 kB / 1.231 GB, free: 8.133 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001309/1.062, allocations: 126.2 kB / 1.231 GB, free: 8 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/1.062, allocations: 7.953 kB / 1.231 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.976e-05/1.062, allocations: 8.375 kB / 1.231 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/1.062, allocations: 3.984 kB / 1.231 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/1.062, allocations: 4.062 kB / 1.231 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.415e-05/1.062, allocations: 93 kB / 1.232 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/1.062, allocations: 0 / 1.232 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.8e-05/1.062, allocations: 11.98 kB / 1.232 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.076e-05/1.062, allocations: 11.88 kB / 1.232 GB, free: 7.84 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003396/1.062, allocations: 188.9 kB / 1.232 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004611/1.063, allocations: 283.8 kB / 1.232 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001124/1.063, allocations: 39.97 kB / 1.232 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.585e-05/1.063, allocations: 91.81 kB / 1.232 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of Backend: time 8.62e-07/1.063, allocations: 0 / 1.232 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000715/1.064, allocations: 229.7 kB / 1.232 GB, free: 6.984 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0006328/1.064, allocations: 0.6081 MB / 1.233 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of Templates: time 0.004694/1.069, allocations: 1.561 MB / 1.235 GB, free: 4.781 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches