Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001628/0.001628, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001856/0.001856, allocations: 193 kB / 16.25 MB, free: 6.633 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.457/1.457, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.487/2.487, allocations: 390.2 MB / 0.6643 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 67.89 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.77/0.7715, allocations: 140.4 MB / 0.9491 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.004266/0.7758, allocations: 0.8024 MB / 0.9499 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002642/0.7785, allocations: 1.145 MB / 0.951 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.362e-05/0.7786, allocations: 1.375 kB / 0.951 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.355e-05/0.7787, allocations: 0 / 0.951 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.7789, allocations: 21.28 kB / 0.951 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008102/0.7797, allocations: 120.3 kB / 0.9512 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002853/0.78, allocations: 116.8 kB / 0.9513 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.7802, allocations: 22.59 kB / 0.9513 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.7803, allocations: 48.06 kB / 0.9513 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.7805, allocations: 38.08 kB / 0.9514 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.674e-05/0.7805, allocations: 11.25 kB / 0.9514 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.7806, allocations: 28.75 kB / 0.9514 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.376e-05/0.7807, allocations: 10.25 kB / 0.9514 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.916e-05/0.7808, allocations: 44.31 kB / 0.9515 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.7811, allocations: 108.2 kB / 0.9516 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.7811, allocations: 5.219 kB / 0.9516 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.88e-06/0.7811, allocations: 0 / 0.9516 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.7811, allocations: 3.938 kB / 0.9516 GB, free: 7.262 MB / 0.7169 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.0007647/0.7819, allocations: 412 kB / 0.952 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.782, allocations: 9.438 kB / 0.952 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.7821, allocations: 13.66 kB / 0.952 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.7822, allocations: 175.1 kB / 0.9521 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.7822, allocations: 4.312 kB / 0.9522 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.7823, allocations: 10.38 kB / 0.9522 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.7825, allocations: 64.78 kB / 0.9522 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.7825, allocations: 4.125 kB / 0.9522 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.7826, allocations: 9.281 kB / 0.9522 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.7826, allocations: 0 / 0.9522 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002288/0.7828, allocations: 40.14 kB / 0.9523 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006027/0.7834, allocations: 326.8 kB / 0.9526 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.7837, allocations: 70.7 kB / 0.9527 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.7838, allocations: 28.69 kB / 0.9527 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.7838, allocations: 1.125 kB / 0.9527 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003483/0.7842, allocations: 96.5 kB / 0.9528 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 2.054e-06/0.7842, allocations: 0 / 0.9528 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005704/0.7848, allocations: 147.6 kB / 0.9529 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.7848, allocations: 52.88 kB / 0.953 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.533e-05/0.7849, allocations: 123.3 kB / 0.9531 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.785, allocations: 29.27 kB / 0.9531 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.687e-05/0.785, allocations: 96.41 kB / 0.9532 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.7851, allocations: 17.31 kB / 0.9532 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.574e-05/0.7852, allocations: 37.52 kB / 0.9533 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.283e-05/0.7853, allocations: 320.9 kB / 0.9536 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/0.7855, allocations: 48.25 kB / 0.9536 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.7857, allocations: 91.16 kB / 0.9537 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003544/0.7861, allocations: 156.5 kB / 0.9538 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.7861, allocations: 1.062 kB / 0.9538 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005837/0.7867, allocations: 204.4 kB / 0.954 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.103e-05/0.7868, allocations: 40.08 kB / 0.9541 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.7868, allocations: 1.125 kB / 0.9541 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.7868, allocations: 1.312 kB / 0.9541 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.7869, allocations: 16.42 kB / 0.9541 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.787, allocations: 5.438 kB / 0.9541 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003053/0.7873, allocations: 32.95 kB / 0.9541 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.302e-05/0.7873, allocations: 10.47 kB / 0.9541 GB, free: 4.879 MB / 0.7169 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.0001137/0.7874, allocations: 125.5 kB / 0.9543 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.7875, allocations: 7.094 kB / 0.9543 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.214e-05/0.7875, allocations: 14.53 kB / 0.9543 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.7875, allocations: 1.281 kB / 0.9543 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.7875, allocations: 0 / 0.9543 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.7876, allocations: 0 / 0.9543 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005186/0.7881, allocations: 375.4 kB / 0.9546 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.7881, allocations: 1.438 kB / 0.9546 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.966e-05/0.7882, allocations: 9.016 kB / 0.9547 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.7882, allocations: 5.688 kB / 0.9547 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.7882, allocations: 4.062 kB / 0.9547 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.7882, allocations: 1.344 kB / 0.9547 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.7882, allocations: 0 / 0.9547 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003578/0.7886, allocations: 216.8 kB / 0.9549 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.537e-05/0.7886, allocations: 87.2 kB / 0.955 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.7887, allocations: 9.094 kB / 0.955 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.7888, allocations: 7.328 kB / 0.955 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.609e-05/0.7889, allocations: 11.36 kB / 0.955 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.7889, allocations: 6.312 kB / 0.955 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.685e-05/0.789, allocations: 95.45 kB / 0.9551 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.789, allocations: 1.094 kB / 0.9551 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003541/0.7893, allocations: 24.12 kB / 0.9551 GB, free: 3.969 MB / 0.7169 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.000191/0.7895, allocations: 104 kB / 0.9552 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004815/0.79, allocations: 180.4 kB / 0.9554 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.79, allocations: 0 / 0.9554 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.7902, allocations: 43.81 kB / 0.9554 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.7906, allocations: 13.83 kB / 0.9554 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004738/0.7911, allocations: 174.8 kB / 0.9556 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.7912, allocations: 0.688 MB / 0.9563 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.481e-05/0.7913, allocations: 12.73 kB / 0.9563 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.7913, allocations: 10.38 kB / 0.9563 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of SimCode: time 5.11e-07/0.7914, allocations: 5.219 kB / 0.9563 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of Templates: time 0.005815/0.7972, allocations: 1.388 MB / 0.9576 GB, free: 2.141 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches