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.001014/0.001014, allocations: 73.88 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001016/0.001016, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9842/0.9842, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.128/2.128, allocations: 429.5 MB / 0.6743 GB, free: 3.91 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 1.743e-06/1.743e-06, allocations: 0 / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.47e-05/1.644e-05, allocations: 8.297 kB / 0.8794 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002215/0.002232, allocations: 1.844 MB / 0.8812 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.003456, allocations: 1.094 MB / 0.8823 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.735e-05/0.003543, allocations: 4 kB / 0.8823 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0003274/0.003871, allocations: 139.1 kB / 0.8824 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003411/0.004212, allocations: 207.1 kB / 0.8826 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.00452, allocations: 223.4 kB / 0.8828 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.004771, allocations: 271.4 kB / 0.8831 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.004879, allocations: 36.56 kB / 0.8831 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005515/0.005431, allocations: 220 kB / 0.8833 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.00558, allocations: 155.6 kB / 0.8835 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.293e-05/0.005612, allocations: 21.03 kB / 0.8835 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.6e-05/0.005698, allocations: 51.92 kB / 0.8836 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7e-05/0.005768, allocations: 91.69 kB / 0.8836 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.654e-05/0.005815, allocations: 56.91 kB / 0.8837 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.006055, allocations: 231.1 kB / 0.8839 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.006056, allocations: 0 / 0.8839 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.21e-07/0.006057, allocations: 1.125 kB / 0.8839 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.006061, allocations: 3.938 kB / 0.8839 GB, free: 1.434 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.0005222/0.006584, allocations: 0.6542 MB / 0.8846 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.835e-05/0.006612, allocations: 8.031 kB / 0.8846 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.006726, allocations: 48.69 kB / 0.8846 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.007019, allocations: 333.5 kB / 0.8849 GB, free: 352 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.007028, allocations: 4.375 kB / 0.8849 GB, free: 348 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.007038, allocations: 12.31 kB / 0.8849 GB, free: 336 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.632e-05/0.007124, allocations: 70.81 kB / 0.885 GB, free: 256 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.007131, allocations: 3.938 kB / 0.885 GB, free: 252 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.00714, allocations: 8 kB / 0.885 GB, free: 244 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.007144, allocations: 0.7188 kB / 0.885 GB, free: 244 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.714e-05/0.007171, allocations: 11.98 kB / 0.885 GB, free: 232 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.007499, allocations: 372.6 kB / 0.8854 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.557e-05/0.007565, allocations: 35.58 kB / 0.8854 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.53e-05/0.00758, allocations: 12.88 kB / 0.8854 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.007596, allocations: 3.984 kB / 0.8854 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.007615, allocations: 41.33 kB / 0.8855 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.007616, allocations: 1.531 kB / 0.8855 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0001276/0.007743, allocations: 77.44 kB / 0.8856 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.007769, allocations: 55.41 kB / 0.8856 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.008041, allocations: 442.5 kB / 0.886 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.00805, allocations: 26.45 kB / 0.8861 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.008162, allocations: 238.7 kB / 0.8863 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.008181, allocations: 20.8 kB / 0.8863 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.008209, allocations: 23.38 kB / 0.8863 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.00834, allocations: 0.5351 MB / 0.8868 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.016e-05/0.00835, allocations: 4 kB / 0.8869 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.725e-06/0.008358, allocations: 0 / 0.8869 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.646e-05/0.008384, allocations: 19.73 kB / 0.8869 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.008386, allocations: 3.938 kB / 0.8869 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.293e-05/0.008459, allocations: 73.5 kB / 0.8869 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.008469, allocations: 6.5 kB / 0.887 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.008472, allocations: 0 / 0.887 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.008495, allocations: 0 / 0.887 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.355e-05/0.008538, allocations: 7.984 kB / 0.887 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-06/0.008541, allocations: 4 kB / 0.887 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.016e-05/0.008571, allocations: 4 kB / 0.887 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-06/0.008574, allocations: 0 / 0.887 GB, free: 14.12 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 7.237e-05/0.008647, allocations: 164.5 kB / 0.8871 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.008681, allocations: 35.7 kB / 0.8872 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.419e-05/0.008775, allocations: 76.42 kB / 0.8872 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.008777, allocations: 0 / 0.8872 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.008779, allocations: 4 kB / 0.8872 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.008782, allocations: 0 / 0.8872 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.008933, allocations: 181.1 kB / 0.8874 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.008934, allocations: 0 / 0.8874 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.079e-05/0.008954, allocations: 8 kB / 0.8874 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.008956, allocations: 0 / 0.8874 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.108e-06/0.00896, allocations: 4 kB / 0.8874 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.00896, allocations: 0 / 0.8874 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.008961, allocations: 0 / 0.8874 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.00907, allocations: 227.6 kB / 0.8876 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.009104, allocations: 35.8 kB / 0.8877 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.009121, allocations: 8 kB / 0.8877 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.318e-05/0.009164, allocations: 4 kB / 0.8877 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.99e-05/0.009184, allocations: 3.984 kB / 0.8877 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.009188, allocations: 4 kB / 0.8877 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001605/0.009348, allocations: 287 kB / 0.888 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.1e-08/0.009348, allocations: 0 / 0.888 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001727/0.009521, allocations: 27.89 kB / 0.888 GB, free: 13.01 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.0007348/0.01026, allocations: 339 kB / 0.8883 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.735e-05/0.01033, allocations: 23.61 kB / 0.8883 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.01033, allocations: 0 / 0.8883 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.85e-05/0.01035, allocations: 15.69 kB / 0.8883 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.01062, allocations: 51.02 kB / 0.8884 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005571/0.01118, allocations: 436.3 kB / 0.8888 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.728e-05/0.01124, allocations: 104.3 kB / 0.8889 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.944e-05/0.0113, allocations: 35.27 kB / 0.8889 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.085e-05/0.01139, allocations: 110.2 kB / 0.8891 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of SimCode: time 7.92e-07/0.01139, allocations: 0 / 0.8891 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of Templates: time 0.006424/0.01781, allocations: 2.908 MB / 0.8919 GB, free: 9.117 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.398874434176832]