Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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.001264/0.001264, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002111/0.003375, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001293/0.001293, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001729/0.003021, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9578/0.9578, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08643/1.044, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.346/2.346, allocations: 447.1 MB / 0.675 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2709/2.617, allocations: 146 MB / 0.8176 GB, free: 3.801 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiSwi.TSet|chiSwi.chiCHWST|chiSwi.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch") translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiSwi.TSet|chiSwi.chiCHWST|chiSwi.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.8189 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.322e-05/2.48e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.48 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch): time 0.003112/0.003136, allocations: 1.803 MB / 0.8207 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007627/0.003899, allocations: 0.5024 MB / 0.8212 GB, free: 156 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.032e-05/0.003959, allocations: 4 kB / 0.8212 GB, free: 152 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.06e-05/0.00399, allocations: 11.86 kB / 0.8212 GB, free: 140 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.521e-05/0.004045, allocations: 19.8 kB / 0.8212 GB, free: 120 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/0.004202, allocations: 51.81 kB / 0.8213 GB, free: 68 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.00436, allocations: 87.7 kB / 0.8213 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.869e-05/0.004459, allocations: 16.17 kB / 0.8214 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.00465, allocations: 75.81 kB / 0.8214 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.713e-05/0.004727, allocations: 35.89 kB / 0.8215 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.004746, allocations: 4 kB / 0.8215 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.986e-05/0.004806, allocations: 12 kB / 0.8215 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.189e-05/0.004828, allocations: 19.88 kB / 0.8215 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.092e-05/0.004859, allocations: 19.94 kB / 0.8215 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.004991, allocations: 51.84 kB / 0.8216 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.329e-05/0.005005, allocations: 0 / 0.8216 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.61e-07/0.005005, allocations: 0 / 0.8216 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.396e-05/0.005019, allocations: 0 / 0.8216 GB, free: 15.75 MB / 0.8073 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.0004671/0.005487, allocations: 308.2 kB / 0.8219 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.005528, allocations: 16.02 kB / 0.8219 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002189/0.005747, allocations: 98.03 kB / 0.822 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.00592, allocations: 137.6 kB / 0.8221 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.005934, allocations: 12.31 kB / 0.8221 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.005948, allocations: 384 / 0.8221 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.006107, allocations: 110.3 kB / 0.8222 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.006115, allocations: 192 / 0.8222 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.006123, allocations: 384 / 0.8222 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.00613, allocations: 3.938 kB / 0.8222 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.552e-05/0.006176, allocations: 27.78 kB / 0.8223 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.006486, allocations: 188.2 kB / 0.8224 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.133e-05/0.006557, allocations: 38.61 kB / 0.8225 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.958e-05/0.006577, allocations: 8.859 kB / 0.8225 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.006592, allocations: 3.938 kB / 0.8225 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.006612, allocations: 30.56 kB / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.006613, allocations: 4 kB / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001345/0.006748, allocations: 45.77 kB / 0.8226 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.006775, allocations: 55.41 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.619e-05/0.006861, allocations: 141.1 kB / 0.8227 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.006881, allocations: 29.64 kB / 0.8228 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.388e-05/0.006925, allocations: 96.08 kB / 0.8229 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.006944, allocations: 11.94 kB / 0.8229 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.006982, allocations: 17.72 kB / 0.8229 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.043e-05/0.007072, allocations: 318.8 kB / 0.8232 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.569e-05/0.007088, allocations: 4 kB / 0.8232 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.789e-05/0.007126, allocations: 47.41 kB / 0.8232 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.092e-05/0.007167, allocations: 24.95 kB / 0.8233 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.00717, allocations: 4 kB / 0.8233 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.661e-05/0.007246, allocations: 49.62 kB / 0.8233 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.007258, allocations: 4 kB / 0.8233 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.007262, allocations: 3.969 kB / 0.8233 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.983e-06/0.007269, allocations: 4 kB / 0.8233 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.477e-05/0.007344, allocations: 11.98 kB / 0.8233 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.007346, allocations: 0 / 0.8233 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.256e-05/0.007389, allocations: 11.94 kB / 0.8234 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.007394, allocations: 0 / 0.8234 GB, free: 13.72 MB / 0.8073 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 6.812e-05/0.007462, allocations: 113.8 kB / 0.8235 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.00749, allocations: 7.938 kB / 0.8235 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.007517, allocations: 12.34 kB / 0.8235 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.007518, allocations: 0 / 0.8235 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.00752, allocations: 4 kB / 0.8235 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.007525, allocations: 3.984 kB / 0.8235 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.007647, allocations: 85.83 kB / 0.8236 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.007648, allocations: 0 / 0.8236 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.584e-05/0.007684, allocations: 7.984 kB / 0.8236 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.193e-05/0.007696, allocations: 11.89 kB / 0.8236 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.007698, allocations: 3.938 kB / 0.8236 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-06/0.007705, allocations: 4 kB / 0.8236 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.007706, allocations: 0 / 0.8236 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.007708, allocations: 4 kB / 0.8236 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.007816, allocations: 139.5 kB / 0.8237 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.007837, allocations: 11.94 kB / 0.8237 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.353e-05/0.007901, allocations: 4 kB / 0.8238 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.007945, allocations: 11.97 kB / 0.8238 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.007949, allocations: 4 kB / 0.8238 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.811e-05/0.007977, allocations: 24.83 kB / 0.8238 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.007977, allocations: 0 / 0.8238 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001924/0.008169, allocations: 16 kB / 0.8238 GB, free: 13.21 MB / 0.8073 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 7.611e-05/0.008245, allocations: 82.67 kB / 0.8239 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.552e-05/0.008331, allocations: 36.84 kB / 0.8239 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.008337, allocations: 0 / 0.8239 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.57e-05/0.008373, allocations: 16.84 kB / 0.8239 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.008551, allocations: 41.7 kB / 0.824 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.009738, allocations: 192.8 kB / 0.8242 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.53e-05/0.009783, allocations: 59.34 kB / 0.8242 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.112e-05/0.009824, allocations: 8 kB / 0.8242 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.353e-05/0.009897, allocations: 59.36 kB / 0.8243 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of SimCode: time 6.01e-07/0.009898, allocations: 0 / 0.8243 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of Templates: time 0.00311/0.01301, allocations: 1.015 MB / 0.8253 GB, free: 11.68 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.09120742790401]