Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.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.00187/0.00187, allocations: 106 kB / 18.84 MB, free: 3.023 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.002374/0.002374, allocations: 191.9 kB / 22.1 MB, free: 4.227 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.488/1.488, allocations: 225.6 MB / 250.8 MB, free: 2.914 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.924/2.924, allocations: 495.8 MB / 0.7831 GB, free: 12.26 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|linPieTwo.u|linPieTwo.y.1.|linPieTwo.y.2.",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|linPieTwo.u|linPieTwo.y.1.|linPieTwo.y.2.",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 67.89 kB / 1.137 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9255/0.9276, allocations: 173.6 MB / 1.307 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.003516/0.9311, allocations: 1.804 MB / 1.309 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001667/0.9327, allocations: 0.9389 MB / 1.309 GB, free: 15.02 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.864e-05/0.9328, allocations: 2.562 kB / 1.309 GB, free: 15.02 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005814/0.9334, allocations: 185.7 kB / 1.31 GB, free: 14.95 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004238/0.9338, allocations: 166.5 kB / 1.31 GB, free: 14.87 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005016/0.9343, allocations: 209.7 kB / 1.31 GB, free: 14.76 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003576/0.9347, allocations: 242.6 kB / 1.31 GB, free: 14.65 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.9348, allocations: 37.88 kB / 1.31 GB, free: 14.63 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001833/0.935, allocations: 110.5 kB / 1.31 GB, free: 14.58 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.9353, allocations: 168.9 kB / 1.31 GB, free: 14.53 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.645e-05/0.9353, allocations: 18.94 kB / 1.311 GB, free: 14.53 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.9354, allocations: 41.84 kB / 1.311 GB, free: 14.53 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.9356, allocations: 90 kB / 1.311 GB, free: 14.49 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.9357, allocations: 117.6 kB / 1.311 GB, free: 14.4 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004846/0.9362, allocations: 351.7 kB / 1.311 GB, free: 14.27 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.9362, allocations: 0 / 1.311 GB, free: 14.27 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.923e-06/0.9362, allocations: 4.906 kB / 1.311 GB, free: 14.26 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.9362, allocations: 0 / 1.311 GB, free: 14.26 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009076/0.9371, allocations: 0.5435 MB / 1.312 GB, free: 13.81 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.9371, allocations: 10.19 kB / 1.312 GB, free: 13.81 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.465e-05/0.9372, allocations: 34.98 kB / 1.312 GB, free: 13.79 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005632/0.9378, allocations: 352.8 kB / 1.312 GB, free: 13.55 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.154e-06/0.9378, allocations: 3.891 kB / 1.312 GB, free: 13.55 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.9378, allocations: 11.03 kB / 1.312 GB, free: 13.54 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.938, allocations: 74.92 kB / 1.312 GB, free: 13.5 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.938, allocations: 0 / 1.312 GB, free: 13.5 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.938, allocations: 12.64 kB / 1.312 GB, free: 13.48 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.938, allocations: 1.469 kB / 1.312 GB, free: 13.48 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.9381, allocations: 44.94 kB / 1.312 GB, free: 13.47 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006503/0.9388, allocations: 448.1 kB / 1.313 GB, free: 13.15 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.9389, allocations: 52.62 kB / 1.313 GB, free: 13.11 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.915e-05/0.939, allocations: 18.66 kB / 1.313 GB, free: 13.1 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.939, allocations: 1.5 kB / 1.313 GB, free: 13.1 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.939, allocations: 36.41 kB / 1.313 GB, free: 13.06 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.939, allocations: 0 / 1.313 GB, free: 13.06 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0003166/0.9394, allocations: 105.3 kB / 1.313 GB, free: 13 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.9394, allocations: 52.06 kB / 1.313 GB, free: 12.93 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007389/0.9401, allocations: 0.5567 MB / 1.313 GB, free: 12.69 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.9402, allocations: 31.11 kB / 1.313 GB, free: 12.65 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.9403, allocations: 169.3 kB / 1.314 GB, free: 12.51 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.9403, allocations: 21.83 kB / 1.314 GB, free: 12.49 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-05/0.9404, allocations: 17.47 kB / 1.314 GB, free: 12.47 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.9405, allocations: 342.7 kB / 1.314 GB, free: 12.15 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.627e-05/0.9406, allocations: 14.39 kB / 1.314 GB, free: 12.14 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.486e-05/0.9406, allocations: 13.36 kB / 1.314 GB, free: 12.14 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.9407, allocations: 38.83 kB / 1.314 GB, free: 12.12 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.9407, allocations: 0 / 1.314 GB, free: 12.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001852/0.9409, allocations: 92.05 kB / 1.314 GB, free: 12.06 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.9409, allocations: 6.484 kB / 1.314 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.941, allocations: 4.734 kB / 1.314 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/0.941, allocations: 7.938 kB / 1.314 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.388e-05/0.9411, allocations: 6.609 kB / 1.314 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.9411, allocations: 2.172 kB / 1.314 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.766e-05/0.9411, allocations: 2.781 kB / 1.314 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.9411, allocations: 5.75 kB / 1.314 GB, free: 12.05 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001716/0.9413, allocations: 176.7 kB / 1.314 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.223e-05/0.9414, allocations: 29.11 kB / 1.314 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002392/0.9416, allocations: 102.4 kB / 1.314 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.9416, allocations: 5.344 kB / 1.314 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.9416, allocations: 0 / 1.314 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.9416, allocations: 0.6094 kB / 1.314 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003289/0.9419, allocations: 256.4 kB / 1.315 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.9419, allocations: 0 / 1.315 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.485e-05/0.942, allocations: 12.11 kB / 1.315 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.942, allocations: 0 / 1.315 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.942, allocations: 1.609 kB / 1.315 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.942, allocations: 3.938 kB / 1.315 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.942, allocations: 1.672 kB / 1.315 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.9423, allocations: 187.4 kB / 1.315 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.836e-05/0.9423, allocations: 45.8 kB / 1.315 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.9424, allocations: 8.938 kB / 1.315 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.9425, allocations: 5.031 kB / 1.315 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.9425, allocations: 1.469 kB / 1.315 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.9425, allocations: 1.219 kB / 1.315 GB, free: 11.42 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004885/0.943, allocations: 421.2 kB / 1.315 GB, free: 11.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.943, allocations: 0 / 1.315 GB, free: 11.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002775/0.9433, allocations: 28.94 kB / 1.315 GB, free: 11.19 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.00131/0.9446, allocations: 360.8 kB / 1.316 GB, free: 11 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001587/0.9447, allocations: 29.39 kB / 1.316 GB, free: 10.99 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.9447, allocations: 5.031 kB / 1.316 GB, free: 10.99 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 6.166e-05/0.9448, allocations: 21.17 kB / 1.316 GB, free: 10.98 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.9452, allocations: 54.03 kB / 1.316 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008205/0.9461, allocations: 0.5097 MB / 1.316 GB, free: 10.62 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/0.9465, allocations: 0.7863 MB / 1.317 GB, free: 9.863 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001148/0.9466, allocations: 48.58 kB / 1.317 GB, free: 9.84 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.309e-05/0.9467, allocations: 20.16 kB / 1.317 GB, free: 9.832 MB / 1.014 GB Notification: Performance of SimCode: time 3.6e-07/0.9467, allocations: 0 / 1.317 GB, free: 9.832 MB / 1.014 GB Notification: Performance of Templates: time 0.006581/0.9533, allocations: 2.522 MB / 1.32 GB, free: 8.613 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_LinearPiecewiseTwo.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.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.385685984045267]