Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 114.3 kB / 17.13 MB, free: 5.938 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.002099/0.002099, allocations: 197.2 kB / 20.08 MB, free: 3 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.46/1.46, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.565/2.565, allocations: 443.5 MB / 0.7293 GB, free: 14.47 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiSwi.TSet|chiSwi.chiCHWST|chiSwi.y",fileNamePrefix="Buildings_10_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_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 63.91 kB / 1.057 GB, free: 1.918 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3567, allocations: 160.7 MB / 1.214 GB, free: 0.8945 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.003398/0.36, allocations: 1.678 MB / 1.216 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009735/0.361, allocations: 455.6 kB / 1.216 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.889e-05/0.3611, allocations: 8 kB / 1.216 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.391e-05/0.3611, allocations: 7.922 kB / 1.216 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.3612, allocations: 15.8 kB / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.3614, allocations: 23.97 kB / 1.216 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.3616, allocations: 87.7 kB / 1.216 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.3617, allocations: 19.98 kB / 1.216 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.3619, allocations: 31.86 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.362, allocations: 47.75 kB / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.362, allocations: 4 kB / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.189e-05/0.362, allocations: 12 kB / 1.216 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.785e-05/0.362, allocations: 12 kB / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.495e-05/0.3621, allocations: 35.8 kB / 1.216 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.3623, allocations: 91.56 kB / 1.217 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3623, allocations: 0 / 1.217 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.755e-06/0.3623, allocations: 0 / 1.217 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.389e-05/0.3623, allocations: 0 / 1.217 GB, free: 14.35 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006439/0.3629, allocations: 391.1 kB / 1.217 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.363, allocations: 12.03 kB / 1.217 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.01e-05/0.363, allocations: 12.89 kB / 1.217 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.3632, allocations: 184.2 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.3632, allocations: 384 / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.3633, allocations: 8.312 kB / 1.217 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.3635, allocations: 95.67 kB / 1.217 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3635, allocations: 0 / 1.217 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.3635, allocations: 0 / 1.217 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3635, allocations: 8 kB / 1.217 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.3637, allocations: 47.91 kB / 1.217 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005567/0.3642, allocations: 324.7 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.3644, allocations: 50.58 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.473e-05/0.3645, allocations: 32.94 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.3645, allocations: 7.984 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.3646, allocations: 30.56 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.3646, allocations: 0 / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0003725/0.3649, allocations: 105.5 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.549e-05/0.365, allocations: 81.11 kB / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.3651, allocations: 126.1 kB / 1.218 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.3652, allocations: 33.7 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.858e-05/0.3652, allocations: 108 kB / 1.218 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.3653, allocations: 11.84 kB / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.717e-05/0.3653, allocations: 21.7 kB / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3655, allocations: 322.8 kB / 1.218 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.428e-05/0.3656, allocations: 19.98 kB / 1.218 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.071e-05/0.3656, allocations: 41.7 kB / 1.218 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.3658, allocations: 52.95 kB / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3658, allocations: 0 / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002126/0.366, allocations: 85.59 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.366, allocations: 4 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.366, allocations: 4.031 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.366, allocations: 4 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.3661, allocations: 7.984 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.3662, allocations: 7.984 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.413e-05/0.3662, allocations: 15.94 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.3663, allocations: 7.938 kB / 1.219 GB, free: 11.89 MB / 0.9669 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.0001068/0.3664, allocations: 113.8 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.3664, allocations: 7.953 kB / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.446e-05/0.3664, allocations: 12.25 kB / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3664, allocations: 3.938 kB / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.3664, allocations: 0 / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3664, allocations: 0 / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.3667, allocations: 189.6 kB / 1.219 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3667, allocations: 0 / 1.219 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.314e-05/0.3667, allocations: 11.98 kB / 1.219 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3667, allocations: 0 / 1.219 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.3668, allocations: 4 kB / 1.219 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3668, allocations: 3.938 kB / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3668, allocations: 0 / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.367, allocations: 183.4 kB / 1.219 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.946e-05/0.3671, allocations: 85.09 kB / 1.219 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.3671, allocations: 0 / 1.219 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.3672, allocations: 11.98 kB / 1.219 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.432e-05/0.3673, allocations: 12.05 kB / 1.219 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.3673, allocations: 8 kB / 1.219 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.256e-05/0.3673, allocations: 102 kB / 1.219 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3673, allocations: 3.938 kB / 1.219 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002307/0.3676, allocations: 23.89 kB / 1.219 GB, free: 11.03 MB / 0.9669 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.0001314/0.3677, allocations: 99.25 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002413/0.368, allocations: 56.12 kB / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.368, allocations: 0 / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.025e-05/0.368, allocations: 27.98 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.3684, allocations: 8.094 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004853/0.3688, allocations: 208.7 kB / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.3692, allocations: 0.6885 MB / 1.22 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.079e-05/0.3692, allocations: 15.42 kB / 1.22 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of SimCode: time 5.91e-07/0.3692, allocations: 4 kB / 1.22 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of Templates: time 0.003015/0.3722, allocations: 0.9901 MB / 1.221 GB, free: 8.879 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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 [Calling sys.exit(0), Time elapsed: 10.61022318690084]