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.001392/0.001392, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001566/0.001566, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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 1.45/1.45, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.137/3.137, allocations: 429.6 MB / 0.673 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.1.|linPieTwo.y.2.",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.1.|linPieTwo.y.2.",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.8776 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.816e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.003948/0.003976, allocations: 1.806 MB / 0.8794 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002357/0.006334, allocations: 1.094 MB / 0.8804 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.00648, allocations: 5.031 kB / 0.8804 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004702/0.00695, allocations: 127.5 kB / 0.8806 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0005779/0.007528, allocations: 201.4 kB / 0.8808 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006004/0.008128, allocations: 228.4 kB / 0.881 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004833/0.008612, allocations: 275.3 kB / 0.8812 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.008762, allocations: 32.56 kB / 0.8813 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003557/0.009117, allocations: 144.4 kB / 0.8814 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000281/0.009398, allocations: 157.3 kB / 0.8816 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.374e-05/0.009452, allocations: 20 kB / 0.8816 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.009591, allocations: 55.92 kB / 0.8816 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.009725, allocations: 91.69 kB / 0.8817 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.009827, allocations: 63.72 kB / 0.8818 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005746/0.0104, allocations: 375.9 kB / 0.8821 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.01041, allocations: 0 / 0.8821 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.012e-06/0.01041, allocations: 0 / 0.8821 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.01041, allocations: 1.094 kB / 0.8821 GB, free: 1.883 MB / 0.8386 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.00106/0.01147, allocations: 0.5547 MB / 0.8827 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.01152, allocations: 12.69 kB / 0.8827 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002353/0.01175, allocations: 45.19 kB / 0.8827 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007948/0.01255, allocations: 381.5 kB / 0.8831 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.01257, allocations: 384 / 0.8831 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.01258, allocations: 4.375 kB / 0.8831 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.01279, allocations: 78.17 kB / 0.8832 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.0128, allocations: 7 kB / 0.8832 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.01282, allocations: 0 / 0.8832 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.01282, allocations: 0 / 0.8832 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.01297, allocations: 51.97 kB / 0.8832 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007299/0.0137, allocations: 408.2 kB / 0.8836 GB, free: 284 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.01386, allocations: 46.5 kB / 0.8837 GB, free: 228 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.437e-05/0.01393, allocations: 18.39 kB / 0.8837 GB, free: 208 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/0.01396, allocations: 7.984 kB / 0.8837 GB, free: 200 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.014, allocations: 30.56 kB / 0.8837 GB, free: 160 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.983e-06/0.014, allocations: 0 / 0.8837 GB, free: 160 kB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0003992/0.0144, allocations: 106 kB / 0.8838 GB, free: 48 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001931/0.01459, allocations: 53.06 kB / 0.8839 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008708/0.01546, allocations: 0.5757 MB / 0.8844 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.01549, allocations: 25.7 kB / 0.8845 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.01568, allocations: 184 kB / 0.8846 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.01571, allocations: 12.88 kB / 0.8846 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.01575, allocations: 9.719 kB / 0.8847 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002352/0.01598, allocations: 354.7 kB / 0.885 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.471e-05/0.01605, allocations: 12.56 kB / 0.885 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.112e-05/0.0161, allocations: 15.98 kB / 0.885 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.01621, allocations: 33.12 kB / 0.8851 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01621, allocations: 0 / 0.8851 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002197/0.01643, allocations: 93.47 kB / 0.8851 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.01644, allocations: 8 kB / 0.8851 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.01645, allocations: 3.938 kB / 0.8852 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.01647, allocations: 0 / 0.8852 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.733e-05/0.01655, allocations: 7.984 kB / 0.8852 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.01655, allocations: 112 / 0.8852 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.353e-05/0.01662, allocations: 11.94 kB / 0.8852 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.01664, allocations: 3.938 kB / 0.8852 GB, free: 14.61 MB / 0.8542 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.000195/0.01683, allocations: 181.8 kB / 0.8853 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.585e-05/0.01691, allocations: 39.75 kB / 0.8854 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002687/0.01718, allocations: 96.42 kB / 0.8855 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.01718, allocations: 0 / 0.8855 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.01718, allocations: 0 / 0.8855 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.01718, allocations: 0 / 0.8855 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003107/0.01749, allocations: 221.1 kB / 0.8857 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.0175, allocations: 4 kB / 0.8857 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.361e-05/0.01755, allocations: 7.938 kB / 0.8857 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.01755, allocations: 0 / 0.8857 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.01756, allocations: 4 kB / 0.8857 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.01757, allocations: 4 kB / 0.8857 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01757, allocations: 0 / 0.8857 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/0.01786, allocations: 195.2 kB / 0.8859 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.359e-05/0.01796, allocations: 35.8 kB / 0.8859 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.01799, allocations: 0 / 0.8859 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.01809, allocations: 7.984 kB / 0.8859 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.01813, allocations: 4 kB / 0.8859 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.01814, allocations: 8 kB / 0.8859 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005699/0.01871, allocations: 431.1 kB / 0.8864 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01871, allocations: 0 / 0.8864 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003024/0.01901, allocations: 31.89 kB / 0.8864 GB, free: 13.3 MB / 0.8542 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.001752/0.02076, allocations: 378.8 kB / 0.8868 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001863/0.02095, allocations: 39.89 kB / 0.8868 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.02095, allocations: 0 / 0.8868 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.86e-05/0.02101, allocations: 16 kB / 0.8868 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004498/0.02146, allocations: 44.12 kB / 0.8868 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.02249, allocations: 0.5376 MB / 0.8874 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.02273, allocations: 193.9 kB / 0.8876 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000161/0.02289, allocations: 47.27 kB / 0.8876 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.854e-05/0.02297, allocations: 28.48 kB / 0.8876 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of SimCode: time 6.01e-07/0.02297, allocations: 4 kB / 0.8876 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of Templates: time 0.007515/0.03049, allocations: 2.723 MB / 0.8903 GB, free: 9.461 MB / 0.8542 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_LinearPiecewiseTwo.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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: 8.008190131979063]