Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 104.1 kB / 18.19 MB, free: 4.141 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 188.4 kB / 21.34 MB, free: 1 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 225.6 MB / 249.9 MB, free: 13.62 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.101/3.101, allocations: 489.7 MB / 0.7761 GB, free: 33.61 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=569,variableFilter="time|chiSwi.TSet|chiSwi.chiCHWST|chiSwi.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=569,variableFilter="time|chiSwi.TSet|chiSwi.chiCHWST|chiSwi.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 70.31 kB / 1.127 GB, free: 36.95 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3699, allocations: 172.1 MB / 1.295 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.003555/0.3735, allocations: 1.691 MB / 1.297 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009717/0.3744, allocations: 450.9 kB / 1.297 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.292e-05/0.3745, allocations: 0 / 1.297 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.371e-05/0.3745, allocations: 7.938 kB / 1.297 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.974e-05/0.3746, allocations: 15.8 kB / 1.297 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.3748, allocations: 27.95 kB / 1.297 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.375, allocations: 83.72 kB / 1.297 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.3751, allocations: 23.92 kB / 1.297 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.3753, allocations: 43.78 kB / 1.297 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.3754, allocations: 39.84 kB / 1.297 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.913e-05/0.3754, allocations: 4 kB / 1.297 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.317e-05/0.3754, allocations: 8 kB / 1.297 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.561e-05/0.3755, allocations: 19.92 kB / 1.297 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.544e-05/0.3755, allocations: 35.8 kB / 1.297 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.3757, allocations: 79.69 kB / 1.297 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3757, allocations: 0 / 1.297 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3757, allocations: 0 / 1.297 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.417e-06/0.3757, allocations: 0 / 1.297 GB, free: 9.191 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007211/0.3764, allocations: 395.1 kB / 1.298 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.3765, allocations: 8.031 kB / 1.298 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.126e-05/0.3765, allocations: 8.891 kB / 1.298 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.3767, allocations: 188.1 kB / 1.298 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.3767, allocations: 8.375 kB / 1.298 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.3768, allocations: 4.375 kB / 1.298 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.377, allocations: 91.69 kB / 1.298 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.377, allocations: 3.938 kB / 1.298 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-05/0.3771, allocations: 4 kB / 1.298 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.3771, allocations: 0 / 1.298 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.3773, allocations: 59.83 kB / 1.298 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005956/0.3779, allocations: 320.7 kB / 1.298 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.378, allocations: 54.55 kB / 1.298 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.908e-05/0.3781, allocations: 24.94 kB / 1.298 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.3782, allocations: 0 / 1.298 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.3782, allocations: 34.56 kB / 1.298 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.3782, allocations: 0 / 1.298 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0003581/0.3785, allocations: 109.6 kB / 1.299 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.201e-05/0.3786, allocations: 77.11 kB / 1.299 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.3788, allocations: 131.5 kB / 1.299 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.3788, allocations: 29.7 kB / 1.299 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.867e-05/0.3789, allocations: 96.09 kB / 1.299 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.3789, allocations: 15.88 kB / 1.299 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/0.379, allocations: 13.72 kB / 1.299 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.3791, allocations: 330.8 kB / 1.299 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.3793, allocations: 23.98 kB / 1.299 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.694e-05/0.3794, allocations: 37.7 kB / 1.299 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.3795, allocations: 44.83 kB / 1.299 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3795, allocations: 128 / 1.299 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002096/0.3797, allocations: 97.59 kB / 1.299 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.3797, allocations: 4 kB / 1.299 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3797, allocations: 0 / 1.299 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.3797, allocations: 4 kB / 1.299 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.3799, allocations: 7.984 kB / 1.299 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.3799, allocations: 0 / 1.299 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.38, allocations: 11.98 kB / 1.299 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.38, allocations: 3.938 kB / 1.299 GB, free: 6.75 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (chiSwi.hysteresis.y,$PRE.chiSwi.hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0001135/0.3801, allocations: 121.8 kB / 1.3 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.3801, allocations: 7.938 kB / 1.3 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.587e-05/0.3802, allocations: 12.25 kB / 1.3 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3802, allocations: 0 / 1.3 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3802, allocations: 0 / 1.3 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.175e-06/0.3802, allocations: 0 / 1.3 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.3804, allocations: 193.8 kB / 1.3 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3804, allocations: 0 / 1.3 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.47e-05/0.3805, allocations: 15.92 kB / 1.3 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3805, allocations: 7.922 kB / 1.3 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.3805, allocations: 4 kB / 1.3 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3805, allocations: 0 / 1.3 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3805, allocations: 0 / 1.3 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.3808, allocations: 179.4 kB / 1.3 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.535e-05/0.3809, allocations: 85.06 kB / 1.3 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.3809, allocations: 3.938 kB / 1.3 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.381, allocations: 19.98 kB / 1.3 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/0.3811, allocations: 7.984 kB / 1.3 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.3811, allocations: 0 / 1.3 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.388e-05/0.3811, allocations: 108.9 kB / 1.3 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3811, allocations: 0 / 1.3 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002247/0.3814, allocations: 15.94 kB / 1.3 GB, free: 5.883 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (chiSwi.hysteresis.y) * Number of discrete states: 1 (chiSwi.hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001546/0.3815, allocations: 99.78 kB / 1.3 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002497/0.3818, allocations: 55.91 kB / 1.3 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3818, allocations: 0 / 1.3 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.117e-05/0.3819, allocations: 27.98 kB / 1.3 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.3822, allocations: 9.703 kB / 1.3 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005351/0.3827, allocations: 204.6 kB / 1.301 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.3831, allocations: 0.6963 MB / 1.301 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.58e-05/0.3832, allocations: 7.438 kB / 1.301 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/0.3832, allocations: 0 / 1.301 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of Templates: time 0.00285/0.386, allocations: 1.011 MB / 1.302 GB, free: 3.723 MB / 0.9981 GB [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches