Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.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.0009817/0.0009817, allocations: 80.8 kB / 20.75 MB, free: 3.734 MB / 18.57 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.000935/0.000935, allocations: 165 kB / 24.17 MB, free: 324 kB / 18.57 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 0.9984/0.9984, allocations: 177.1 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.899/1.899, allocations: 377.9 MB / 0.624 GB, free: 8.383 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiSwi.TSet|chiSwi.chiCHWST|chiSwi.y",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiSwi.TSet|chiSwi.chiCHWST|chiSwi.y",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.7601 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.151e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.003281/0.003303, allocations: 1.794 MB / 0.7618 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.004348, allocations: 0.5057 MB / 0.7623 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.5e-05/0.004423, allocations: 1.125 kB / 0.7623 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.826e-05/0.004461, allocations: 11.88 kB / 0.7623 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.004567, allocations: 19.7 kB / 0.7623 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.004803, allocations: 50.33 kB / 0.7624 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.004967, allocations: 89.19 kB / 0.7625 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.005072, allocations: 24.14 kB / 0.7625 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002113/0.005284, allocations: 56.91 kB / 0.7625 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.193e-05/0.005366, allocations: 31.91 kB / 0.7626 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.005388, allocations: 8 kB / 0.7626 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.307e-05/0.005451, allocations: 16.48 kB / 0.7626 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.265e-05/0.005474, allocations: 13.73 kB / 0.7626 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.182e-05/0.005505, allocations: 23.94 kB / 0.7626 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.005644, allocations: 63.73 kB / 0.7627 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.005646, allocations: 0 / 0.7627 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.21e-07/0.005646, allocations: 0 / 0.7627 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.00565, allocations: 1.219 kB / 0.7627 GB, free: 3.934 MB / 0.7136 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.0003772/0.006028, allocations: 296.5 kB / 0.763 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.006064, allocations: 8.781 kB / 0.763 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.006249, allocations: 29.5 kB / 0.763 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.006413, allocations: 138.3 kB / 0.7631 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.006422, allocations: 384 / 0.7631 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.006435, allocations: 5.438 kB / 0.7632 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.006597, allocations: 110.3 kB / 0.7633 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.006606, allocations: 192 / 0.7633 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.006617, allocations: 5.5 kB / 0.7633 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.006625, allocations: 7.938 kB / 0.7633 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.158e-05/0.006666, allocations: 11.94 kB / 0.7633 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000301/0.006967, allocations: 185.2 kB / 0.7635 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.756e-05/0.007025, allocations: 27.55 kB / 0.7635 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.48e-05/0.00705, allocations: 14 kB / 0.7635 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.007066, allocations: 7.938 kB / 0.7635 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.007095, allocations: 30.56 kB / 0.7635 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.007096, allocations: 2.75 kB / 0.7635 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001458/0.007242, allocations: 49.69 kB / 0.7636 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.007282, allocations: 77.11 kB / 0.7637 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.135e-05/0.007373, allocations: 140.6 kB / 0.7638 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.007393, allocations: 25.7 kB / 0.7638 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/0.007441, allocations: 100.1 kB / 0.7639 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.007462, allocations: 11.88 kB / 0.7639 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.007503, allocations: 24.3 kB / 0.7639 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.894e-05/0.007602, allocations: 322.8 kB / 0.7643 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.957e-05/0.007621, allocations: 4 kB / 0.7643 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.022e-05/0.007661, allocations: 39.42 kB / 0.7643 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.918e-05/0.007711, allocations: 28.95 kB / 0.7643 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.007713, allocations: 0 / 0.7643 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.157e-05/0.007794, allocations: 45.62 kB / 0.7644 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.00781, allocations: 12.44 kB / 0.7644 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.007814, allocations: 1.156 kB / 0.7644 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.007827, allocations: 0 / 0.7644 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.185e-05/0.007898, allocations: 11.98 kB / 0.7644 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.007902, allocations: 6.188 kB / 0.7644 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.655e-05/0.007948, allocations: 11.94 kB / 0.7644 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.007955, allocations: 3.938 kB / 0.7644 GB, free: 2.004 MB / 0.7136 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 7.932e-05/0.008034, allocations: 109.8 kB / 0.7645 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.008062, allocations: 7.938 kB / 0.7645 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/0.008088, allocations: 13.02 kB / 0.7645 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.008093, allocations: 8.859 kB / 0.7645 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.008095, allocations: 0 / 0.7645 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.008098, allocations: 0 / 0.7645 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.008235, allocations: 84.22 kB / 0.7646 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.008236, allocations: 0 / 0.7646 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.35e-05/0.00829, allocations: 7.984 kB / 0.7646 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.008292, allocations: 4 kB / 0.7646 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.0083, allocations: 3.938 kB / 0.7646 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.008301, allocations: 0 / 0.7646 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.008302, allocations: 2.438 kB / 0.7646 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.008424, allocations: 143.5 kB / 0.7648 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.254e-05/0.008436, allocations: 3.953 kB / 0.7648 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.008461, allocations: 11.94 kB / 0.7648 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.253e-05/0.008544, allocations: 7.984 kB / 0.7648 GB, free: 1.566 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.008587, allocations: 7.984 kB / 0.7648 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.008592, allocations: 1.906 kB / 0.7648 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.646e-05/0.008629, allocations: 30.55 kB / 0.7648 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.008629, allocations: 0 / 0.7648 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002045/0.008833, allocations: 15.94 kB / 0.7649 GB, free: 1.512 MB / 0.7136 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 9.908e-05/0.008932, allocations: 81 kB / 0.7649 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.767e-05/0.00903, allocations: 30.36 kB / 0.765 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.009033, allocations: 4 kB / 0.765 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.578e-05/0.009069, allocations: 16.84 kB / 0.765 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.009245, allocations: 3.938 kB / 0.765 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005939/0.009838, allocations: 198.8 kB / 0.7652 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.008e-05/0.009889, allocations: 59.34 kB / 0.7652 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.086e-05/0.009929, allocations: 5.406 kB / 0.7652 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.571e-05/0.01001, allocations: 59.36 kB / 0.7653 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of SimCode: time 1.002e-06/0.01001, allocations: 1.531 kB / 0.7653 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of Templates: time 0.00324/0.01325, allocations: 0.9494 MB / 0.7662 GB, free: 112 kB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9271810399368405]