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.01295/0.01296, allocations: 99.44 kB / 15.73 MB, free: 6.035 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.001872/0.001872, allocations: 193.4 kB / 16.67 MB, free: 5.961 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.68/1.68, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.127/3.127, allocations: 437 MB / 0.7105 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 63.91 kB / 1.019 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3656, allocations: 151.6 MB / 1.167 GB, free: 6.855 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002643/0.3684, allocations: 0.7533 MB / 1.167 GB, free: 6.098 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002351/0.3707, allocations: 1.148 MB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.9e-05/0.3709, allocations: 0 / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.712e-05/0.371, allocations: 3.938 kB / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.3711, allocations: 7.875 kB / 1.169 GB, free: 4.922 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007306/0.3718, allocations: 139.3 kB / 1.169 GB, free: 4.789 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002363/0.3721, allocations: 123.7 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.3723, allocations: 23.97 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.3724, allocations: 47.91 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.3725, allocations: 51.8 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.41e-05/0.3726, allocations: 8 kB / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.981e-05/0.3727, allocations: 23.94 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.895e-05/0.3727, allocations: 11.98 kB / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.765e-05/0.3728, allocations: 39.84 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.3731, allocations: 115.6 kB / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3731, allocations: 0 / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3731, allocations: 0 / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.3731, allocations: 4 kB / 1.169 GB, free: 4.348 MB / 0.92 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.0007445/0.3739, allocations: 412.9 kB / 1.169 GB, free: 3.887 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.3739, allocations: 8.031 kB / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.043e-05/0.374, allocations: 16.88 kB / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.3742, allocations: 172.3 kB / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.3742, allocations: 384 / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.3742, allocations: 12.38 kB / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.3745, allocations: 70.16 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3745, allocations: 4.188 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.3745, allocations: 3.938 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3745, allocations: 0 / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.3747, allocations: 39.95 kB / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006053/0.3753, allocations: 332.7 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.3755, allocations: 66.5 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.3756, allocations: 32.95 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.3757, allocations: 7.938 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002211/0.3759, allocations: 87.36 kB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 2.114e-06/0.3759, allocations: 7.938 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0004858/0.3764, allocations: 141.5 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.3765, allocations: 55.41 kB / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.554e-05/0.3766, allocations: 117.8 kB / 1.171 GB, free: 2.59 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.3766, allocations: 29.7 kB / 1.171 GB, free: 2.555 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.631e-05/0.3767, allocations: 96.2 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.3767, allocations: 23.84 kB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.71e-05/0.3768, allocations: 37.7 kB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3769, allocations: 318.8 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.3771, allocations: 51.97 kB / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.3773, allocations: 84.25 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.3776, allocations: 145.8 kB / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.3776, allocations: 0 / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004371/0.378, allocations: 207.1 kB / 1.172 GB, free: 1.543 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.977e-05/0.3781, allocations: 41.69 kB / 1.172 GB, free: 1.496 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3781, allocations: 0 / 1.172 GB, free: 1.496 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.3781, allocations: 4 kB / 1.172 GB, free: 1.492 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.3782, allocations: 15.92 kB / 1.172 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.3783, allocations: 0 / 1.172 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.3785, allocations: 36.03 kB / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.3785, allocations: 15.98 kB / 1.172 GB, free: 1.426 MB / 0.92 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.0001771/0.3787, allocations: 121.8 kB / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.3787, allocations: 7.953 kB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.572e-05/0.3787, allocations: 8.375 kB / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.3788, allocations: 0 / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.301e-05/0.3788, allocations: 8.047 kB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3788, allocations: 3.938 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005217/0.3793, allocations: 378.4 kB / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3793, allocations: 0 / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.472e-05/0.3794, allocations: 7.984 kB / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.3794, allocations: 0 / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.3794, allocations: 4 kB / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3794, allocations: 0 / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3794, allocations: 0 / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003406/0.3798, allocations: 227.3 kB / 1.172 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-05/0.3798, allocations: 89.05 kB / 1.172 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.3799, allocations: 0 / 1.172 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.469e-05/0.3799, allocations: 8 kB / 1.172 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.38, allocations: 7.984 kB / 1.172 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.38, allocations: 3.938 kB / 1.172 GB, free: 480 kB / 0.92 GB Notification: Performance of sorting global known variables: time 7.208e-05/0.3801, allocations: 99.27 kB / 1.173 GB, free: 380 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3801, allocations: 0 / 1.173 GB, free: 380 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002647/0.3804, allocations: 31.88 kB / 1.173 GB, free: 348 kB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001991/0.3806, allocations: 103.2 kB / 1.173 GB, free: 236 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004152/0.381, allocations: 175.3 kB / 1.173 GB, free: 48 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.381, allocations: 256 / 1.173 GB, free: 48 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.3811, allocations: 43.92 kB / 1.173 GB, free: 4 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.3815, allocations: 16.66 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004616/0.382, allocations: 154.5 kB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005738/0.3825, allocations: 0.6885 MB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.32e-05/0.3826, allocations: 8 kB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.3826, allocations: 11.44 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of SimCode: time 7.22e-07/0.3827, allocations: 0 / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of Templates: time 0.005106/0.3878, allocations: 1.45 MB / 1.175 GB, free: 13.64 MB / 0.9356 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/jenkins/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