Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001939/0.001939, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002379/0.002379, allocations: 165.6 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.55/1.55, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.036/3.036, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.816e-06/2.816e-06, allocations: 0 / 1 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.564e-05/3.845e-05, allocations: 2.281 kB / 1 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.00266/0.002698, allocations: 0.7458 MB / 1.001 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002106/0.004805, allocations: 1.158 MB / 1.002 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.386e-05/0.004878, allocations: 0 / 1.002 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.355e-05/0.004912, allocations: 3.938 kB / 1.002 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.715e-05/0.005009, allocations: 15.86 kB / 1.002 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006431/0.005652, allocations: 134.9 kB / 1.002 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002781/0.00593, allocations: 127.7 kB / 1.002 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.006043, allocations: 8 kB / 1.002 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.006228, allocations: 59.95 kB / 1.002 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.006348, allocations: 43.86 kB / 1.002 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.455e-05/0.006383, allocations: 8 kB / 1.002 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.583e-05/0.006479, allocations: 16 kB / 1.002 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.444e-05/0.006523, allocations: 15.97 kB / 1.002 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.239e-05/0.006606, allocations: 35.91 kB / 1.002 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.006883, allocations: 127.7 kB / 1.003 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.006887, allocations: 0 / 1.003 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.432e-06/0.006888, allocations: 4 kB / 1.003 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.006894, allocations: 4 kB / 1.003 GB, free: 4.754 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.0007992/0.007694, allocations: 335.8 kB / 1.003 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.007739, allocations: 8.031 kB / 1.003 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.303e-05/0.007812, allocations: 8.891 kB / 1.003 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.007963, allocations: 113.7 kB / 1.003 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.007987, allocations: 4.375 kB / 1.003 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.646e-05/0.008024, allocations: 8.375 kB / 1.003 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/0.008281, allocations: 66.2 kB / 1.003 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.008293, allocations: 192 / 1.003 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.008306, allocations: 4.375 kB / 1.003 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.008311, allocations: 4.375 kB / 1.003 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002041/0.008515, allocations: 43.89 kB / 1.003 GB, free: 4.102 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006106/0.009125, allocations: 264.3 kB / 1.003 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.009349, allocations: 50.61 kB / 1.003 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.009477, allocations: 44.89 kB / 1.003 GB, free: 3.707 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.009493, allocations: 0 / 1.003 GB, free: 3.707 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002973/0.009791, allocations: 91.25 kB / 1.004 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.009792, allocations: 0 / 1.004 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0005971/0.01039, allocations: 141.6 kB / 1.004 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.01045, allocations: 59.34 kB / 1.004 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.01059, allocations: 117.8 kB / 1.004 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.01062, allocations: 33.7 kB / 1.004 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.565e-05/0.01071, allocations: 100.1 kB / 1.004 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.01073, allocations: 15.91 kB / 1.004 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.974e-05/0.01082, allocations: 37.7 kB / 1.004 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.011, allocations: 318.8 kB / 1.004 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.0112, allocations: 89.66 kB / 1.004 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.01144, allocations: 113.9 kB / 1.005 GB, free: 2.52 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/0.01175, allocations: 142.2 kB / 1.005 GB, free: 2.359 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.01175, allocations: 0 / 1.005 GB, free: 2.359 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005482/0.0123, allocations: 244.8 kB / 1.005 GB, free: 2.102 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.976e-05/0.01235, allocations: 37.69 kB / 1.005 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.01236, allocations: 8.125 kB / 1.005 GB, free: 2.051 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.01238, allocations: 0 / 1.005 GB, free: 2.051 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.01249, allocations: 19.92 kB / 1.005 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.0125, allocations: 0 / 1.005 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.01273, allocations: 31.95 kB / 1.005 GB, free: 2 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.01275, allocations: 8 kB / 1.005 GB, free: 1.992 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,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.0001353/0.01289, allocations: 122.3 kB / 1.005 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.01291, allocations: 19.89 kB / 1.005 GB, free: 1.844 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.668e-05/0.01295, allocations: 8.422 kB / 1.005 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01295, allocations: 0 / 1.005 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.01296, allocations: 4 kB / 1.005 GB, free: 1.832 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.01296, allocations: 8 kB / 1.005 GB, free: 1.824 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005201/0.01348, allocations: 318.1 kB / 1.005 GB, free: 1.477 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.01349, allocations: 0 / 1.005 GB, free: 1.477 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.307e-05/0.01355, allocations: 7.984 kB / 1.006 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.01355, allocations: 0 / 1.006 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.01357, allocations: 15.88 kB / 1.006 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.01357, allocations: 0 / 1.006 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01357, allocations: 0 / 1.006 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.01396, allocations: 207.4 kB / 1.006 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.61e-05/0.01398, allocations: 7.953 kB / 1.006 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.01399, allocations: 0 / 1.006 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.01411, allocations: 7.984 kB / 1.006 GB, free: 1.219 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.352e-05/0.01418, allocations: 11.98 kB / 1.006 GB, free: 1.207 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.01419, allocations: 7.938 kB / 1.006 GB, free: 1.199 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.047e-05/0.01429, allocations: 95.27 kB / 1.006 GB, free: 1.105 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.01429, allocations: 0 / 1.006 GB, free: 1.105 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002847/0.01457, allocations: 24 kB / 1.006 GB, free: 1.082 MB / 0.9512 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.000194/0.01476, allocations: 101.7 kB / 1.006 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000464/0.01523, allocations: 197 kB / 1.006 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.01523, allocations: 256 / 1.006 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.01536, allocations: 31.98 kB / 1.006 GB, free: 0.7305 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.01567, allocations: 21.98 kB / 1.006 GB, free: 0.7109 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004711/0.01614, allocations: 157.6 kB / 1.006 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.056e-05/0.01623, allocations: 79.19 kB / 1.006 GB, free: 440 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.778e-05/0.01627, allocations: 4 kB / 1.006 GB, free: 436 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.0163, allocations: 16.5 kB / 1.006 GB, free: 420 kB / 0.9512 GB Notification: Performance of SimCode: time 8.52e-07/0.0163, allocations: 0 / 1.006 GB, free: 420 kB / 0.9512 GB Notification: Performance of Templates: time 0.005638/0.02194, allocations: 1.584 MB / 1.008 GB, free: 14.85 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.661875516176224]