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.01037/0.01037, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.002788/0.002788, allocations: 194.9 kB / 16.68 MB, free: 5.969 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.504/1.504, allocations: 222.9 MB / 240.4 MB, free: 4.172 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 2.915/2.915, allocations: 437 MB / 0.7105 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 63.91 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3648, allocations: 151.6 MB / 1.167 GB, free: 6.793 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.00313/0.368, allocations: 0.7528 MB / 1.167 GB, free: 6.039 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00246/0.3705, allocations: 1.155 MB / 1.168 GB, free: 4.867 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.547e-05/0.3706, allocations: 0 / 1.168 GB, free: 4.867 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.799e-05/0.3707, allocations: 3.938 kB / 1.169 GB, free: 4.863 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.3708, allocations: 15.94 kB / 1.169 GB, free: 4.848 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007874/0.3716, allocations: 131.6 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003029/0.372, allocations: 127.7 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.3721, allocations: 16 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.3723, allocations: 43.91 kB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.3725, allocations: 51.8 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.716e-05/0.3725, allocations: 12 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.3726, allocations: 23.98 kB / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.539e-05/0.3727, allocations: 11.94 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.3728, allocations: 47.83 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002967/0.3731, allocations: 111.6 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3731, allocations: 0 / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.035e-06/0.3731, allocations: 4 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.3731, allocations: 0 / 1.169 GB, free: 4.277 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.0009045/0.374, allocations: 408.9 kB / 1.169 GB, free: 3.82 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.413e-05/0.3741, allocations: 15.97 kB / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.857e-05/0.3742, allocations: 8.891 kB / 1.169 GB, free: 3.797 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.3744, allocations: 168.3 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.3744, allocations: 8.375 kB / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.809e-05/0.3745, allocations: 8.359 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.3748, allocations: 70.22 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.3748, allocations: 192 / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.3748, allocations: 3.938 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.3749, allocations: 0 / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002578/0.3751, allocations: 43.95 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007641/0.3759, allocations: 340.6 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.3762, allocations: 62.55 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.3763, allocations: 32.97 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.3763, allocations: 0 / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003157/0.3767, allocations: 91.3 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 2.555e-06/0.3767, allocations: 0 / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0005825/0.3773, allocations: 141.6 kB / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/0.3773, allocations: 55.39 kB / 1.17 GB, free: 2.656 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.3775, allocations: 117.8 kB / 1.171 GB, free: 2.531 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.3775, allocations: 29.7 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.336e-05/0.3776, allocations: 92.14 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.694e-05/0.3777, allocations: 23.84 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.3778, allocations: 41.64 kB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3779, allocations: 322.8 kB / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.3781, allocations: 47.97 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.3784, allocations: 91.75 kB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/0.3788, allocations: 145.8 kB / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.3788, allocations: 0 / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006259/0.3795, allocations: 211.2 kB / 1.172 GB, free: 1.477 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.681e-05/0.3795, allocations: 35.56 kB / 1.172 GB, free: 1.438 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/0.3795, allocations: 7.938 kB / 1.172 GB, free: 1.43 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.3796, allocations: 0 / 1.172 GB, free: 1.43 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.3797, allocations: 11.98 kB / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.3797, allocations: 4 kB / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/0.38, allocations: 44.02 kB / 1.172 GB, free: 1.371 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.3801, allocations: 4.312 kB / 1.172 GB, free: 1.367 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.0001319/0.3802, allocations: 125.7 kB / 1.172 GB, free: 1.234 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.3802, allocations: 7.953 kB / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.991e-05/0.3803, allocations: 12.36 kB / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.3803, allocations: 4.062 kB / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3803, allocations: 4 kB / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3803, allocations: 4 kB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000579/0.3809, allocations: 382.4 kB / 1.172 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3809, allocations: 0 / 1.172 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.588e-05/0.381, allocations: 8 kB / 1.172 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.381, allocations: 0 / 1.172 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.381, allocations: 0 / 1.172 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.3811, allocations: 3.984 kB / 1.172 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3811, allocations: 4 kB / 1.172 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/0.3815, allocations: 215.4 kB / 1.172 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 9.243e-05/0.3816, allocations: 81.06 kB / 1.172 GB, free: 444 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.3816, allocations: 4 kB / 1.172 GB, free: 440 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.3817, allocations: 7.984 kB / 1.172 GB, free: 432 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.91e-05/0.3818, allocations: 4 kB / 1.172 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.3818, allocations: 15.94 kB / 1.172 GB, free: 412 kB / 0.92 GB Notification: Performance of sorting global known variables: time 7.24e-05/0.3819, allocations: 103.6 kB / 1.173 GB, free: 308 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3819, allocations: 0 / 1.173 GB, free: 308 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004028/0.3823, allocations: 23.94 kB / 1.173 GB, free: 284 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.0002512/0.3826, allocations: 107.2 kB / 1.173 GB, free: 168 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005737/0.3832, allocations: 175.5 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3832, allocations: 0 / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.3834, allocations: 35.92 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.3838, allocations: 18.22 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005059/0.3843, allocations: 158.5 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.3847, allocations: 0.6925 MB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.377e-05/0.3847, allocations: 4 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.668e-05/0.3848, allocations: 15.42 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of SimCode: time 3.91e-07/0.3848, allocations: 3.938 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of Templates: time 0.006002/0.3908, allocations: 1.458 MB / 1.175 GB, free: 13.56 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