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.001747/0.001747, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002762/0.002762, allocations: 214.6 kB / 22.25 MB, free: 4.859 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.597/1.597, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.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.551/3.551, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 71.45 kB / 1.186 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4357/0.4377, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002891/0.4406, allocations: 0.748 MB / 1.365 GB, free: 12.83 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002189/0.4428, allocations: 1.156 MB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.112e-05/0.4429, allocations: 4 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.982e-05/0.4429, allocations: 3.938 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.443, allocations: 11.88 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006285/0.4436, allocations: 138.3 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.4439, allocations: 119.7 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.444, allocations: 11.98 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.4441, allocations: 47.91 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.4442, allocations: 35.88 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.4442, allocations: 15.94 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.453e-05/0.4443, allocations: 23.98 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.998e-05/0.4443, allocations: 8 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.927e-05/0.4444, allocations: 43.83 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.4447, allocations: 103.7 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.4447, allocations: 8 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.953e-06/0.4447, allocations: 0 / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.4447, allocations: 0 / 1.366 GB, free: 11.1 MB / 1.061 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.0007105/0.4454, allocations: 335.8 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.4454, allocations: 15.91 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.487e-05/0.4455, allocations: 8.938 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.4456, allocations: 118.4 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.4456, allocations: 8.375 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.4457, allocations: 4.375 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.4459, allocations: 70.22 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.4459, allocations: 192 / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.4459, allocations: 3.938 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.4459, allocations: 0 / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.4461, allocations: 43.95 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005257/0.4466, allocations: 256.4 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.4468, allocations: 54.61 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.4469, allocations: 40.91 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.4469, allocations: 3.984 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002441/0.4472, allocations: 87.25 kB / 1.367 GB, free: 9.949 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.4472, allocations: 0 / 1.367 GB, free: 9.949 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0004692/0.4476, allocations: 145.6 kB / 1.367 GB, free: 9.801 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.4477, allocations: 63.41 kB / 1.367 GB, free: 9.727 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.4478, allocations: 113.8 kB / 1.368 GB, free: 9.605 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.4478, allocations: 29.7 kB / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.02e-05/0.4479, allocations: 96.08 kB / 1.368 GB, free: 9.473 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.4479, allocations: 19.84 kB / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.109e-05/0.448, allocations: 37.64 kB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.4482, allocations: 322.8 kB / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.4484, allocations: 81.66 kB / 1.368 GB, free: 9 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.4486, allocations: 120.2 kB / 1.368 GB, free: 8.863 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002928/0.4489, allocations: 154.1 kB / 1.368 GB, free: 8.691 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4489, allocations: 0 / 1.368 GB, free: 8.691 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004809/0.4494, allocations: 244.9 kB / 1.369 GB, free: 8.434 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.523e-05/0.4494, allocations: 37.69 kB / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.4494, allocations: 0 / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.4494, allocations: 4 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.465e-05/0.4495, allocations: 15.98 kB / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4495, allocations: 0 / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.4497, allocations: 31.95 kB / 1.369 GB, free: 8.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.4497, allocations: 8 kB / 1.369 GB, free: 8.332 MB / 1.061 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.0001295/0.4499, allocations: 137.7 kB / 1.369 GB, free: 8.188 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.4499, allocations: 3.953 kB / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.418e-05/0.4499, allocations: 16.36 kB / 1.369 GB, free: 8.164 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.4499, allocations: 0 / 1.369 GB, free: 8.164 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.4499, allocations: 0 / 1.369 GB, free: 8.164 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.4499, allocations: 0 / 1.369 GB, free: 8.164 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004766/0.4504, allocations: 318 kB / 1.369 GB, free: 7.816 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4504, allocations: 64 / 1.369 GB, free: 7.816 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.683e-05/0.4505, allocations: 19.98 kB / 1.369 GB, free: 7.797 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.4505, allocations: 0 / 1.369 GB, free: 7.797 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.4505, allocations: 0 / 1.369 GB, free: 7.797 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4505, allocations: 0 / 1.369 GB, free: 7.797 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.4505, allocations: 4 kB / 1.369 GB, free: 7.793 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003163/0.4508, allocations: 211.4 kB / 1.369 GB, free: 7.57 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.67e-05/0.4508, allocations: 11.89 kB / 1.369 GB, free: 7.559 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.4508, allocations: 0 / 1.369 GB, free: 7.559 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.65e-05/0.4509, allocations: 11.98 kB / 1.369 GB, free: 7.547 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.451, allocations: 11.98 kB / 1.369 GB, free: 7.535 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.451, allocations: 0 / 1.369 GB, free: 7.535 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.402e-05/0.451, allocations: 99.2 kB / 1.37 GB, free: 7.438 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.451, allocations: 3.938 kB / 1.37 GB, free: 7.434 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002561/0.4513, allocations: 24 kB / 1.37 GB, free: 7.41 MB / 1.061 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.0001544/0.4515, allocations: 99.19 kB / 1.37 GB, free: 7.305 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004302/0.4519, allocations: 201 kB / 1.37 GB, free: 7.09 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4519, allocations: 4 kB / 1.37 GB, free: 7.086 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.452, allocations: 27.98 kB / 1.37 GB, free: 7.059 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.4523, allocations: 17.11 kB / 1.37 GB, free: 7.047 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003806/0.4527, allocations: 166.7 kB / 1.37 GB, free: 6.855 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.538e-05/0.4527, allocations: 75.19 kB / 1.37 GB, free: 6.762 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.249e-05/0.4528, allocations: 8.188 kB / 1.37 GB, free: 6.754 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.4528, allocations: 11.44 kB / 1.37 GB, free: 6.742 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.4528, allocations: 0 / 1.37 GB, free: 6.742 MB / 1.061 GB Notification: Performance of Templates: time 0.004716/0.4575, allocations: 1.611 MB / 1.372 GB, free: 5.168 MB / 1.061 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: 10.059828031808138]