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.001008/0.001008, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009431/0.0009431, allocations: 173 kB / 23.49 MB, free: 1.059 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.8937/0.8937, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.068/2.068, allocations: 429.5 MB / 0.6736 GB, free: 4.031 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.783e-06/1.783e-06, allocations: 0 / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.086e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002175/0.002196, allocations: 1.862 MB / 0.88 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.003392, allocations: 1.101 MB / 0.8811 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.339e-05/0.003476, allocations: 3.938 kB / 0.8811 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0003352/0.003811, allocations: 136.6 kB / 0.8812 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003221/0.004133, allocations: 200.2 kB / 0.8814 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.004412, allocations: 228.5 kB / 0.8816 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002288/0.00464, allocations: 271.3 kB / 0.8819 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.004763, allocations: 37.55 kB / 0.8819 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.004943, allocations: 139.7 kB / 0.8821 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.005096, allocations: 160.1 kB / 0.8822 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.005122, allocations: 21.88 kB / 0.8822 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.738e-05/0.005199, allocations: 51.92 kB / 0.8823 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.558e-05/0.005274, allocations: 95.67 kB / 0.8824 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.262e-05/0.005327, allocations: 55.8 kB / 0.8824 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.00557, allocations: 227.1 kB / 0.8827 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.005572, allocations: 1.344 kB / 0.8827 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.91e-07/0.005572, allocations: 4 kB / 0.8827 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.005576, allocations: 3.938 kB / 0.8827 GB, free: 2.07 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.0005725/0.006149, allocations: 0.6546 MB / 0.8833 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.00618, allocations: 9.125 kB / 0.8833 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.006314, allocations: 48.69 kB / 0.8834 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.006636, allocations: 315.5 kB / 0.8837 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.006647, allocations: 5.969 kB / 0.8837 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.006659, allocations: 8.312 kB / 0.8837 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.006771, allocations: 70.94 kB / 0.8837 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.006779, allocations: 3.938 kB / 0.8837 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.006788, allocations: 0 / 0.8837 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.934e-06/0.006795, allocations: 2.469 kB / 0.8837 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.099e-05/0.006836, allocations: 19.98 kB / 0.8838 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/0.007228, allocations: 443.3 kB / 0.8842 GB, free: 420 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.913e-05/0.007297, allocations: 35.06 kB / 0.8842 GB, free: 372 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.175e-05/0.007319, allocations: 15.73 kB / 0.8842 GB, free: 352 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.007337, allocations: 6.047 kB / 0.8842 GB, free: 348 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.007357, allocations: 41.33 kB / 0.8843 GB, free: 296 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.007358, allocations: 0 / 0.8843 GB, free: 296 kB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001589/0.007517, allocations: 77.45 kB / 0.8844 GB, free: 212 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.007543, allocations: 51.41 kB / 0.8844 GB, free: 148 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005703/0.008113, allocations: 458.7 kB / 0.8848 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.008123, allocations: 26.42 kB / 0.8849 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.008235, allocations: 238.7 kB / 0.8851 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.008253, allocations: 9.562 kB / 0.8851 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.602e-05/0.008279, allocations: 23.38 kB / 0.8851 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.00841, allocations: 0.5313 MB / 0.8856 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.283e-05/0.008423, allocations: 0 / 0.8856 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.146e-05/0.008434, allocations: 9.172 kB / 0.8857 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.308e-05/0.008467, allocations: 23.62 kB / 0.8857 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.00847, allocations: 0 / 0.8857 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.045e-05/0.00855, allocations: 77.5 kB / 0.8857 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.008563, allocations: 4 kB / 0.8858 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.008567, allocations: 0 / 0.8858 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.00858, allocations: 0 / 0.8858 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.386e-05/0.008634, allocations: 8 kB / 0.8858 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.008639, allocations: 0 / 0.8858 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.364e-05/0.008672, allocations: 7.984 kB / 0.8858 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.008678, allocations: 3.938 kB / 0.8858 GB, free: 14.69 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 6.708e-05/0.008745, allocations: 156.6 kB / 0.8859 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.34e-05/0.008778, allocations: 39.7 kB / 0.886 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.00889, allocations: 84.41 kB / 0.886 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.008891, allocations: 0 / 0.886 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.008894, allocations: 0 / 0.886 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.008897, allocations: 0 / 0.886 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.009074, allocations: 240.5 kB / 0.8863 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.009075, allocations: 0 / 0.8863 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.217e-05/0.009097, allocations: 4 kB / 0.8863 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.009101, allocations: 4.109 kB / 0.8863 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.009108, allocations: 7.922 kB / 0.8863 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.009109, allocations: 0 / 0.8863 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.009109, allocations: 0 / 0.8863 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.009214, allocations: 232 kB / 0.8865 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.85e-05/0.009252, allocations: 47.73 kB / 0.8866 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.00927, allocations: 0 / 0.8866 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.221e-05/0.009312, allocations: 0 / 0.8866 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.009344, allocations: 8.031 kB / 0.8866 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.009348, allocations: 0 / 0.8866 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002144/0.009563, allocations: 311 kB / 0.8869 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.009563, allocations: 0 / 0.8869 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001741/0.009737, allocations: 31.95 kB / 0.8869 GB, free: 13.47 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.0007583/0.0105, allocations: 336 kB / 0.8872 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.234e-05/0.01058, allocations: 31.53 kB / 0.8872 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01058, allocations: 0 / 0.8872 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.883e-05/0.0106, allocations: 19.69 kB / 0.8873 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.01085, allocations: 44.33 kB / 0.8873 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006562/0.01151, allocations: 448.2 kB / 0.8877 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.041e-05/0.01157, allocations: 104.3 kB / 0.8878 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.302e-05/0.01163, allocations: 35.27 kB / 0.8879 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.184e-05/0.01167, allocations: 24.48 kB / 0.8879 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of SimCode: time 6.71e-07/0.01167, allocations: 0 / 0.8879 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.004499/0.01617, allocations: 2.713 MB / 0.8905 GB, free: 9.855 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.123632307862863]