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.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.001031/0.001031, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001327/0.002358, allocations: 449.7 kB / 10.37 MB, free: 328 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.0009383/0.0009383, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00122/0.002158, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.8899/0.8899, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08416/0.974, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.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.742/1.742, allocations: 378.2 MB / 0.6077 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4081/2.15, allocations: 123.3 MB / 0.728 GB, free: 5.816 MB / 0.698 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.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|linPieTwo.u|linPieTwo.y.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.7293 GB, free: 4.539 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.123e-05/1.258e-05, allocations: 6.312 kB / 0.7293 GB, free: 4.531 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.001977/0.00199, allocations: 1.892 MB / 0.7312 GB, free: 2.656 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.003339, allocations: 1.128 MB / 0.7323 GB, free: 1.531 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.872e-05/0.003428, allocations: 4 kB / 0.7323 GB, free: 1.527 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002549/0.003683, allocations: 133.4 kB / 0.7324 GB, free: 1.398 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003031/0.003986, allocations: 202.7 kB / 0.7326 GB, free: 1.211 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003484/0.004334, allocations: 225.5 kB / 0.7328 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002749/0.004609, allocations: 266.5 kB / 0.7331 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.004712, allocations: 43.22 kB / 0.7331 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006283/0.00534, allocations: 274.4 kB / 0.7334 GB, free: 472 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.005504, allocations: 151.7 kB / 0.7335 GB, free: 320 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.005529, allocations: 19.94 kB / 0.7335 GB, free: 300 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.00563, allocations: 59.91 kB / 0.7336 GB, free: 240 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.183e-05/0.005692, allocations: 72.61 kB / 0.7337 GB, free: 168 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.379e-05/0.005736, allocations: 43.81 kB / 0.7337 GB, free: 124 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.005985, allocations: 215.2 kB / 0.7339 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.194e-05/0.005997, allocations: 0.75 kB / 0.7339 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.81e-07/0.005997, allocations: 0 / 0.7339 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.006009, allocations: 1 kB / 0.7339 GB, free: 15.91 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005401/0.006549, allocations: 0.5608 MB / 0.7345 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.732e-05/0.006577, allocations: 8.906 kB / 0.7345 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/0.006711, allocations: 106 kB / 0.7346 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.00698, allocations: 296.5 kB / 0.7348 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.136e-06/0.006988, allocations: 5.062 kB / 0.7349 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.006998, allocations: 8.375 kB / 0.7349 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.157e-05/0.007089, allocations: 76.55 kB / 0.7349 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.007096, allocations: 3.938 kB / 0.7349 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.007103, allocations: 0 / 0.7349 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.007106, allocations: 3.938 kB / 0.7349 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.573e-05/0.007132, allocations: 12 kB / 0.735 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002743/0.007406, allocations: 231.5 kB / 0.7352 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.967e-05/0.007476, allocations: 34.33 kB / 0.7352 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.683e-05/0.007492, allocations: 8.859 kB / 0.7352 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.007513, allocations: 0.5312 kB / 0.7352 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.007532, allocations: 35.69 kB / 0.7353 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 7.42e-07/0.007533, allocations: 0 / 0.7353 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001002/0.007633, allocations: 53.61 kB / 0.7353 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.007657, allocations: 56.11 kB / 0.7354 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002328/0.00789, allocations: 369 kB / 0.7357 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.007908, allocations: 34.22 kB / 0.7357 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.907e-05/0.007957, allocations: 136.9 kB / 0.7359 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.007973, allocations: 16.81 kB / 0.7359 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.166e-05/0.007995, allocations: 13.72 kB / 0.7359 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.339e-05/0.008088, allocations: 347.9 kB / 0.7362 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.877e-06/0.008097, allocations: 7.984 kB / 0.7362 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.983e-06/0.008104, allocations: 0 / 0.7362 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.388e-05/0.008128, allocations: 21.41 kB / 0.7363 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.00813, allocations: 0 / 0.7363 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.267e-05/0.008192, allocations: 53.98 kB / 0.7363 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.008203, allocations: 4 kB / 0.7363 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.008207, allocations: 4 kB / 0.7363 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.402e-06/0.008213, allocations: 0.75 kB / 0.7363 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.929e-05/0.008263, allocations: 4 kB / 0.7363 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-06/0.008265, allocations: 1.25 kB / 0.7363 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.902e-05/0.008294, allocations: 8 kB / 0.7363 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.008298, allocations: 7.969 kB / 0.7363 GB, free: 13.25 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: 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 8.765e-05/0.008386, allocations: 117.6 kB / 0.7365 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/0.008408, allocations: 19.92 kB / 0.7365 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.49e-05/0.008493, allocations: 73.14 kB / 0.7365 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.008496, allocations: 4 kB / 0.7365 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.008497, allocations: 0.9375 kB / 0.7365 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.0085, allocations: 0 / 0.7365 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.008623, allocations: 141.7 kB / 0.7367 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.008624, allocations: 0.5312 kB / 0.7367 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.523e-05/0.008649, allocations: 12.7 kB / 0.7367 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.81e-05/0.008678, allocations: 27.81 kB / 0.7367 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.008679, allocations: 5.156 kB / 0.7367 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-06/0.008682, allocations: 0 / 0.7367 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.008684, allocations: 3.984 kB / 0.7367 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.008685, allocations: 1.031 kB / 0.7367 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.123e-05/0.008756, allocations: 155.4 kB / 0.7369 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.008772, allocations: 0 / 0.7369 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.915e-05/0.008811, allocations: 0.5625 kB / 0.7369 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.971e-05/0.008831, allocations: 9.766 kB / 0.7369 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.008832, allocations: 0 / 0.7369 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001279/0.00896, allocations: 171.5 kB / 0.7371 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.00896, allocations: 0 / 0.7371 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001313/0.009092, allocations: 23.95 kB / 0.7371 GB, free: 12.46 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: 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.001084/0.01018, allocations: 476.9 kB / 0.7375 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.359e-05/0.01025, allocations: 20.84 kB / 0.7375 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.01026, allocations: 4 kB / 0.7376 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.642e-05/0.01027, allocations: 16.78 kB / 0.7376 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.01048, allocations: 62.94 kB / 0.7376 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008342/0.01131, allocations: 457.2 kB / 0.7381 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.644e-05/0.01137, allocations: 104.2 kB / 0.7382 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.678e-05/0.01142, allocations: 40.19 kB / 0.7382 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.11e-05/0.0115, allocations: 85.73 kB / 0.7383 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of SimCode: time 8.11e-07/0.0115, allocations: 0 / 0.7383 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of Templates: time 0.00462/0.01612, allocations: 2.858 MB / 0.7411 GB, free: 8.711 MB / 0.7136 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo/Buildings_12_Buildings.Examples.ChillerPlant.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: 4.568122731521726]