Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.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.0007961/0.0007961, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001117/0.001913, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006896/0.0006896, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008476/0.001537, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9639/0.9639, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09911/1.063, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.383/2.383, allocations: 446.7 MB / 0.6745 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2635/2.647, allocations: 145.9 MB / 0.817 GB, free: 4.199 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.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|linPieTwo.u|linPieTwo.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo") translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|linPieTwo.u|linPieTwo.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.8183 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.59e-05/1.707e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002472/0.002489, allocations: 1.897 MB / 0.8201 GB, free: 0.9688 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.00385, allocations: 1.13 MB / 0.8213 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.845e-05/0.003948, allocations: 4 kB / 0.8213 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0002732/0.004221, allocations: 143.3 kB / 0.8214 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003268/0.004548, allocations: 195.2 kB / 0.8216 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003693/0.004918, allocations: 227.3 kB / 0.8218 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002698/0.005187, allocations: 263.4 kB / 0.822 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.005304, allocations: 34.55 kB / 0.8221 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007651/0.006069, allocations: 274.4 kB / 0.8223 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.00624, allocations: 151.7 kB / 0.8225 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.907e-05/0.006269, allocations: 16 kB / 0.8225 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.006395, allocations: 63.84 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.408e-05/0.006459, allocations: 79.72 kB / 0.8226 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.921e-05/0.006508, allocations: 43.81 kB / 0.8227 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.006795, allocations: 215.2 kB / 0.8229 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.497e-05/0.00682, allocations: 0 / 0.8229 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.854e-06/0.006822, allocations: 0 / 0.8229 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.213e-05/0.006844, allocations: 0 / 0.8229 GB, free: 14.19 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005986/0.007442, allocations: 0.5646 MB / 0.8234 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.007475, allocations: 8.625 kB / 0.8234 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.007632, allocations: 110 kB / 0.8236 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.007949, allocations: 284 kB / 0.8238 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.007962, allocations: 8.375 kB / 0.8238 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.007971, allocations: 4.375 kB / 0.8238 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.58e-05/0.008067, allocations: 66.88 kB / 0.8239 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.008075, allocations: 3.938 kB / 0.8239 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.008084, allocations: 7.984 kB / 0.8239 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.008091, allocations: 4 kB / 0.8239 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.196e-05/0.008123, allocations: 12 kB / 0.8239 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002844/0.008407, allocations: 238.8 kB / 0.8242 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.461e-05/0.008472, allocations: 29.39 kB / 0.8242 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.676e-05/0.008489, allocations: 8.859 kB / 0.8242 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.008509, allocations: 0 / 0.8242 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.00853, allocations: 34.56 kB / 0.8242 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.008531, allocations: 0 / 0.8242 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001248/0.008656, allocations: 57.61 kB / 0.8243 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.008687, allocations: 55.41 kB / 0.8243 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.008944, allocations: 377 kB / 0.8247 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.008954, allocations: 25.7 kB / 0.8247 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.314e-05/0.009007, allocations: 132.9 kB / 0.8248 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.009028, allocations: 16 kB / 0.8249 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.009054, allocations: 25.64 kB / 0.8249 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.864e-05/0.009143, allocations: 346.7 kB / 0.8252 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.145e-05/0.009154, allocations: 4 kB / 0.8252 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.714e-06/0.009162, allocations: 0 / 0.8252 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.195e-05/0.009194, allocations: 23.61 kB / 0.8252 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.009196, allocations: 0 / 0.8252 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.148e-05/0.009257, allocations: 49.67 kB / 0.8253 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.009269, allocations: 12 kB / 0.8253 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.009274, allocations: 0 / 0.8253 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.009284, allocations: 4 kB / 0.8253 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.761e-05/0.009342, allocations: 7.984 kB / 0.8253 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.009346, allocations: 3.984 kB / 0.8253 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.253e-05/0.009378, allocations: 7.938 kB / 0.8253 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.009383, allocations: 0 / 0.8253 GB, free: 11.52 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: 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 6.71e-05/0.00945, allocations: 112.6 kB / 0.8254 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.009474, allocations: 19.97 kB / 0.8254 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.009581, allocations: 72.38 kB / 0.8255 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.009584, allocations: 8 kB / 0.8255 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.009586, allocations: 0 / 0.8255 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.00959, allocations: 3.984 kB / 0.8255 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.009733, allocations: 137.7 kB / 0.8257 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.009735, allocations: 0 / 0.8257 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.162e-05/0.009766, allocations: 4 kB / 0.8257 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.373e-05/0.0098, allocations: 36.17 kB / 0.8257 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.009802, allocations: 0 / 0.8257 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-06/0.009807, allocations: 0 / 0.8257 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.009808, allocations: 0 / 0.8257 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.009809, allocations: 0 / 0.8257 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.956e-05/0.009909, allocations: 163.4 kB / 0.8258 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.009926, allocations: 4 kB / 0.8259 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.324e-05/0.009969, allocations: 4 kB / 0.8259 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.231e-05/0.009991, allocations: 0 / 0.8259 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.009994, allocations: 0 / 0.8259 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001283/0.01012, allocations: 171.5 kB / 0.826 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01012, allocations: 0 / 0.826 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001432/0.01027, allocations: 23.95 kB / 0.826 GB, free: 10.72 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: 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.001087/0.01135, allocations: 492.7 kB / 0.8265 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.693e-05/0.01142, allocations: 16.84 kB / 0.8265 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.954e-06/0.01143, allocations: 4 kB / 0.8265 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.638e-05/0.01144, allocations: 16.78 kB / 0.8265 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.01168, allocations: 69.39 kB / 0.8266 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009169/0.01259, allocations: 436.3 kB / 0.827 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.079e-05/0.01266, allocations: 104.3 kB / 0.8271 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.464e-05/0.01273, allocations: 35.27 kB / 0.8272 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.184e-05/0.01282, allocations: 83.36 kB / 0.8272 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of SimCode: time 8.61e-07/0.01282, allocations: 4 kB / 0.8272 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of Templates: time 0.004969/0.01779, allocations: 2.862 MB / 0.83 GB, free: 6.871 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.ref.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: 5.076493877917528]