Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 110.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.001225/0.001225, allocations: 189.5 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.462/1.462, allocations: 222.9 MB / 241.1 MB, free: 15.13 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.738/2.738, allocations: 437 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 63.91 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.135/1.137, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002168/1.139, allocations: 0.7686 MB / 1.168 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001838/1.141, allocations: 1.15 MB / 1.169 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.132e-05/1.141, allocations: 0 / 1.169 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.513e-05/1.141, allocations: 7.938 kB / 1.169 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001073/1.141, allocations: 7.875 kB / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006429/1.142, allocations: 139.7 kB / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002516/1.142, allocations: 127.7 kB / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/1.142, allocations: 12 kB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/1.143, allocations: 47.91 kB / 1.17 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/1.143, allocations: 47.86 kB / 1.17 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/1.143, allocations: 12 kB / 1.17 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/1.143, allocations: 23.98 kB / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/1.143, allocations: 7.938 kB / 1.17 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.161e-05/1.143, allocations: 43.84 kB / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002473/1.143, allocations: 123.6 kB / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.143, allocations: 0 / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.803e-06/1.143, allocations: 0 / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.063e-06/1.143, allocations: 0 / 1.17 GB, free: 1.328 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007635/1.144, allocations: 410.7 kB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/1.144, allocations: 8.031 kB / 1.17 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.367e-05/1.144, allocations: 12.84 kB / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/1.144, allocations: 168.3 kB / 1.17 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/1.144, allocations: 4.375 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/1.144, allocations: 12.38 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/1.145, allocations: 66.22 kB / 1.17 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/1.145, allocations: 192 / 1.17 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/1.145, allocations: 3.938 kB / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/1.145, allocations: 0 / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/1.145, allocations: 43.89 kB / 1.17 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006772/1.146, allocations: 332.7 kB / 1.171 GB, free: 148 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/1.146, allocations: 66.48 kB / 1.171 GB, free: 72 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/1.146, allocations: 28.97 kB / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/1.146, allocations: 7.938 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000283/1.146, allocations: 91.48 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 3.717e-06/1.146, allocations: 3.938 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0004969/1.147, allocations: 133.5 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/1.147, allocations: 67.27 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/1.147, allocations: 113.8 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/1.147, allocations: 37.7 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/1.147, allocations: 96.11 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/1.147, allocations: 19.75 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.452e-05/1.147, allocations: 37.7 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001457/1.147, allocations: 314.8 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/1.147, allocations: 51.97 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/1.148, allocations: 88.25 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/1.148, allocations: 141.9 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/1.148, allocations: 7.938 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004593/1.148, allocations: 203.1 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.314e-05/1.149, allocations: 37.7 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/1.149, allocations: 0 / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/1.149, allocations: 4 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/1.149, allocations: 11.98 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/1.149, allocations: 4.438 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/1.149, allocations: 43.92 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/1.149, allocations: 8 kB / 1.172 GB, free: 14.43 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: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.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.0001306/1.149, allocations: 128 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/1.149, allocations: 7.906 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.195e-05/1.149, allocations: 12.36 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/1.149, allocations: 4 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/1.149, allocations: 0 / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.501e-05/1.149, allocations: 81.11 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/1.149, allocations: 0 / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.801e-05/1.149, allocations: 11.98 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/1.149, allocations: 11.92 kB / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003348/1.15, allocations: 196.8 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000345/1.15, allocations: 278.7 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001132/1.15, allocations: 39.97 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.211e-05/1.15, allocations: 91.81 kB / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of Backend: time 2.01e-07/1.15, allocations: 0 / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000655/1.151, allocations: 237.7 kB / 1.173 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006759/1.152, allocations: 0.6004 MB / 1.174 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of Templates: time 0.004656/1.156, allocations: 1.559 MB / 1.175 GB, free: 11.09 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches