Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 200.2 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.954/2.954, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 67.91 kB / 1.109 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9529/0.955, allocations: 168.7 MB / 1.274 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002361/0.9573, allocations: 0.7524 MB / 1.275 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001803/0.9591, allocations: 1.16 MB / 1.276 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.929e-05/0.9592, allocations: 0 / 1.276 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.021e-05/0.9592, allocations: 7.922 kB / 1.276 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.416e-05/0.9593, allocations: 11.92 kB / 1.276 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005999/0.9599, allocations: 134.8 kB / 1.276 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.9602, allocations: 119.8 kB / 1.276 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.9603, allocations: 11.98 kB / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.9604, allocations: 43.91 kB / 1.276 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.9605, allocations: 47.81 kB / 1.276 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.204e-05/0.9605, allocations: 12 kB / 1.276 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.184e-05/0.9606, allocations: 27.97 kB / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.598e-05/0.9607, allocations: 7.984 kB / 1.276 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.712e-05/0.9607, allocations: 43.86 kB / 1.276 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.961, allocations: 114.3 kB / 1.276 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.961, allocations: 0 / 1.276 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.803e-06/0.961, allocations: 7.938 kB / 1.276 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.383e-06/0.961, allocations: 0 / 1.276 GB, free: 2.02 MB / 0.9669 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.0007466/0.9617, allocations: 412.9 kB / 1.277 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.9618, allocations: 15.97 kB / 1.277 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.674e-05/0.9618, allocations: 4.938 kB / 1.277 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.962, allocations: 180.2 kB / 1.277 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.962, allocations: 4.375 kB / 1.277 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.906e-05/0.9621, allocations: 4.375 kB / 1.277 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.9623, allocations: 66.23 kB / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.9623, allocations: 192 / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.9623, allocations: 7.922 kB / 1.277 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.9623, allocations: 0 / 1.277 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.9625, allocations: 39.97 kB / 1.277 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005759/0.9631, allocations: 332.6 kB / 1.278 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.9633, allocations: 66.53 kB / 1.278 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.9634, allocations: 36.95 kB / 1.278 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.756e-06/0.9634, allocations: 0 / 1.278 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002752/0.9637, allocations: 95.36 kB / 1.278 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.472e-06/0.9637, allocations: 0 / 1.278 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0005015/0.9642, allocations: 137.6 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.9642, allocations: 51.41 kB / 1.278 GB, free: 412 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.9643, allocations: 117.8 kB / 1.278 GB, free: 284 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.9644, allocations: 29.7 kB / 1.278 GB, free: 248 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.971e-05/0.9644, allocations: 92.12 kB / 1.278 GB, free: 152 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.9645, allocations: 31.78 kB / 1.278 GB, free: 120 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.914e-05/0.9646, allocations: 45.62 kB / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.9647, allocations: 310.8 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.9649, allocations: 59.95 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.9651, allocations: 84.25 kB / 1.279 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/0.9654, allocations: 145.8 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.9654, allocations: 0 / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004937/0.9659, allocations: 215.5 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.268e-05/0.966, allocations: 33.7 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.966, allocations: 0 / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.966, allocations: 4 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.436e-05/0.9661, allocations: 11.98 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.9661, allocations: 3.984 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.9663, allocations: 40.08 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.9663, allocations: 8 kB / 1.279 GB, free: 15.11 MB / 0.9825 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.0001129/0.9664, allocations: 125.7 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.889e-05/0.9665, allocations: 7.953 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.548e-05/0.9665, allocations: 16.31 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.9665, allocations: 3.938 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.9665, allocations: 0 / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.9665, allocations: 0 / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005341/0.967, allocations: 394.4 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.967, allocations: 0 / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.551e-05/0.9671, allocations: 11.98 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.9671, allocations: 0 / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.9671, allocations: 0 / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.9671, allocations: 0 / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.9671, allocations: 0 / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003522/0.9675, allocations: 207.4 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.142e-05/0.9675, allocations: 81.06 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.906e-05/0.9676, allocations: 8 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.211e-05/0.9677, allocations: 7.984 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.9677, allocations: 3.984 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.9677, allocations: 11.94 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.93e-05/0.9678, allocations: 99.2 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9678, allocations: 0 / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002887/0.9681, allocations: 20 kB / 1.28 GB, free: 14.02 MB / 0.9825 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.0002596/0.9684, allocations: 104.7 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004813/0.9689, allocations: 167.2 kB / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.9689, allocations: 4.25 kB / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.969, allocations: 31.97 kB / 1.28 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.9693, allocations: 17.39 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005866/0.9699, allocations: 178.5 kB / 1.28 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.9703, allocations: 0.6846 MB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.716e-05/0.9704, allocations: 11.98 kB / 1.281 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.722e-05/0.9704, allocations: 11.44 kB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of SimCode: time 8.21e-07/0.9704, allocations: 0 / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of Templates: time 0.006046/0.9765, allocations: 1.466 MB / 1.283 GB, free: 11.3 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.09201852278784]