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.0009283/0.0009283, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009544/0.0009544, allocations: 169 kB / 23.02 MB, free: 1.551 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 0.9542/0.9542, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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 2.09/2.09, allocations: 429.5 MB / 0.6732 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 177] 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.[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 2.064e-06/2.064e-06, allocations: 0 / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.756e-05/2.963e-05, allocations: 5.266 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.003703/0.003733, allocations: 1.867 MB / 0.88 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001817/0.00555, allocations: 1.122 MB / 0.8811 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.005662, allocations: 0 / 0.8811 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004739/0.006136, allocations: 135.4 kB / 0.8812 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0005244/0.00666, allocations: 211.6 kB / 0.8814 GB, free: 3 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004869/0.007147, allocations: 211.5 kB / 0.8816 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003594/0.007507, allocations: 275.3 kB / 0.8819 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.007661, allocations: 36.56 kB / 0.8819 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002779/0.007939, allocations: 139.6 kB / 0.8821 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.008169, allocations: 151.7 kB / 0.8822 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.51e-05/0.008214, allocations: 24.53 kB / 0.8822 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.008346, allocations: 59.91 kB / 0.8823 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.008453, allocations: 89.19 kB / 0.8824 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.135e-05/0.008534, allocations: 63.72 kB / 0.8824 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003643/0.008899, allocations: 227.1 kB / 0.8827 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.008904, allocations: 0 / 0.8827 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.082e-06/0.008905, allocations: 1.531 kB / 0.8827 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.008912, allocations: 0 / 0.8827 GB, free: 1.746 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.0008407/0.009752, allocations: 0.6585 MB / 0.8833 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.009797, allocations: 12.03 kB / 0.8833 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002002/0.009997, allocations: 52.69 kB / 0.8834 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004958/0.01049, allocations: 314.9 kB / 0.8837 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.01051, allocations: 384 / 0.8837 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.01052, allocations: 8.375 kB / 0.8837 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.01069, allocations: 74.81 kB / 0.8837 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.0107, allocations: 3.938 kB / 0.8837 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.01072, allocations: 4 kB / 0.8837 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.01073, allocations: 4 kB / 0.8838 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.145e-05/0.01079, allocations: 15.92 kB / 0.8838 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005803/0.01137, allocations: 435.5 kB / 0.8842 GB, free: 80 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.01147, allocations: 39 kB / 0.8842 GB, free: 28 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.757e-05/0.0115, allocations: 11.75 kB / 0.8842 GB, free: 12 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.01153, allocations: 3.984 kB / 0.8842 GB, free: 8 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/0.01157, allocations: 41.39 kB / 0.8843 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.01157, allocations: 0 / 0.8843 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0002268/0.0118, allocations: 77.53 kB / 0.8843 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.01183, allocations: 55.41 kB / 0.8844 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005436/0.01238, allocations: 458.7 kB / 0.8848 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.01239, allocations: 25.7 kB / 0.8849 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.01255, allocations: 238.7 kB / 0.8851 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.01258, allocations: 15.91 kB / 0.8851 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.01261, allocations: 23.36 kB / 0.8851 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.0128, allocations: 0.5235 MB / 0.8856 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.223e-05/0.01283, allocations: 4 kB / 0.8856 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.051e-05/0.01285, allocations: 12.12 kB / 0.8857 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.888e-05/0.0129, allocations: 23.62 kB / 0.8857 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.0129, allocations: 0 / 0.8857 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000122/0.01302, allocations: 77.44 kB / 0.8858 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.01304, allocations: 4 kB / 0.8858 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.01304, allocations: 0 / 0.8858 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.01306, allocations: 8 kB / 0.8858 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.96e-05/0.01314, allocations: 4 kB / 0.8858 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.01315, allocations: 0 / 0.8858 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.056e-05/0.0132, allocations: 3.984 kB / 0.8858 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.0132, allocations: 7.938 kB / 0.8858 GB, free: 14.34 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 9.471e-05/0.0133, allocations: 156.6 kB / 0.8859 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.921e-05/0.01336, allocations: 35.77 kB / 0.886 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.01353, allocations: 76.36 kB / 0.886 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.01353, allocations: 0 / 0.886 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.01354, allocations: 0 / 0.886 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.01354, allocations: 4 kB / 0.886 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.01383, allocations: 244.5 kB / 0.8863 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.01383, allocations: 0 / 0.8863 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.803e-05/0.01388, allocations: 8 kB / 0.8863 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.01388, allocations: 3.984 kB / 0.8863 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-06/0.01389, allocations: 0 / 0.8863 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.01389, allocations: 0 / 0.8863 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.0139, allocations: 0 / 0.8863 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006315/0.01453, allocations: 227.6 kB / 0.8865 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.325e-05/0.01459, allocations: 39.73 kB / 0.8865 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.01462, allocations: 4 kB / 0.8865 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.784e-05/0.0147, allocations: 0 / 0.8865 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.01474, allocations: 11.94 kB / 0.8866 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.01475, allocations: 0 / 0.8866 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003367/0.01508, allocations: 311 kB / 0.8869 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.11e-07/0.01508, allocations: 4 kB / 0.8869 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003135/0.0154, allocations: 23.95 kB / 0.8869 GB, free: 13.14 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.001048/0.01644, allocations: 345 kB / 0.8872 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.01655, allocations: 31.61 kB / 0.8872 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01656, allocations: 0 / 0.8872 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.582e-05/0.01658, allocations: 11.69 kB / 0.8872 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.017, allocations: 50.06 kB / 0.8873 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000962/0.01796, allocations: 443 kB / 0.8877 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.352e-05/0.01805, allocations: 108.3 kB / 0.8878 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.691e-05/0.01815, allocations: 43.25 kB / 0.8879 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.01821, allocations: 24.48 kB / 0.8879 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of SimCode: time 7.61e-07/0.01821, allocations: 0 / 0.8879 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of Templates: time 0.006691/0.02491, allocations: 2.715 MB / 0.8905 GB, free: 9.508 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=240 -emit_protected -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_LinearPiecewiseTwo.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.452579352073371]