Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00102/0.00102, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009422/0.0009422, allocations: 161 kB / 23.81 MB, free: 0.7539 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.9734/0.9734, allocations: 177.1 MB / 204.2 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.815/1.815, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.7871 GB, free: 11.38 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.251e-05/3.461e-05, allocations: 5.891 kB / 0.7871 GB, free: 11.38 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002748/0.002782, allocations: 1.846 MB / 0.7889 GB, free: 9.535 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.004137, allocations: 1.109 MB / 0.79 GB, free: 8.422 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.00428, allocations: 4.656 kB / 0.79 GB, free: 8.418 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003735/0.004653, allocations: 136.3 kB / 0.7901 GB, free: 8.285 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003927/0.005046, allocations: 195.9 kB / 0.7903 GB, free: 8.094 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.005418, allocations: 224.6 kB / 0.7905 GB, free: 7.875 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002985/0.005716, allocations: 276.9 kB / 0.7908 GB, free: 7.605 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.005843, allocations: 44.53 kB / 0.7908 GB, free: 7.562 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.006074, allocations: 135.6 kB / 0.7909 GB, free: 7.43 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.006251, allocations: 155.7 kB / 0.7911 GB, free: 7.277 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.006285, allocations: 21.22 kB / 0.7911 GB, free: 7.258 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.903e-05/0.006384, allocations: 59.91 kB / 0.7912 GB, free: 7.199 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.085e-05/0.006465, allocations: 87.7 kB / 0.7912 GB, free: 7.113 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.735e-05/0.006522, allocations: 64.39 kB / 0.7913 GB, free: 7.051 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.006784, allocations: 223.1 kB / 0.7915 GB, free: 6.832 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.006787, allocations: 5.406 kB / 0.7915 GB, free: 6.828 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.092e-06/0.006788, allocations: 0 / 0.7915 GB, free: 6.828 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.006793, allocations: 0 / 0.7915 GB, free: 6.828 MB / 0.698 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.0006544/0.007447, allocations: 0.6582 MB / 0.7922 GB, free: 6.133 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.007481, allocations: 8.875 kB / 0.7922 GB, free: 6.125 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.007634, allocations: 57.25 kB / 0.7922 GB, free: 6.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/0.007997, allocations: 310.9 kB / 0.7925 GB, free: 5.742 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.00801, allocations: 9 kB / 0.7925 GB, free: 5.734 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.008024, allocations: 5.281 kB / 0.7925 GB, free: 5.73 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.00815, allocations: 70.92 kB / 0.7926 GB, free: 5.652 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.008162, allocations: 3.938 kB / 0.7926 GB, free: 5.648 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.008172, allocations: 4.656 kB / 0.7926 GB, free: 5.645 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.00818, allocations: 1.656 kB / 0.7926 GB, free: 5.645 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.344e-05/0.008224, allocations: 19.88 kB / 0.7926 GB, free: 5.625 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004426/0.008666, allocations: 443.4 kB / 0.7931 GB, free: 5.156 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.731e-05/0.008744, allocations: 35.05 kB / 0.7931 GB, free: 5.109 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.443e-05/0.008768, allocations: 17.09 kB / 0.7931 GB, free: 5.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.008789, allocations: 0 / 0.7931 GB, free: 5.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.00881, allocations: 45.31 kB / 0.7932 GB, free: 5.035 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 3.106e-06/0.008814, allocations: 5.578 kB / 0.7932 GB, free: 5.031 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001779/0.008992, allocations: 73.5 kB / 0.7932 GB, free: 4.953 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.009017, allocations: 51.41 kB / 0.7933 GB, free: 4.891 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003541/0.009372, allocations: 458.7 kB / 0.7937 GB, free: 4.422 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.009382, allocations: 29.7 kB / 0.7937 GB, free: 4.387 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.009499, allocations: 239.6 kB / 0.794 GB, free: 4.148 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.009517, allocations: 7.953 kB / 0.794 GB, free: 4.141 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.009544, allocations: 22.69 kB / 0.794 GB, free: 4.113 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.009683, allocations: 0.5313 MB / 0.7945 GB, free: 3.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/0.0097, allocations: 4 kB / 0.7945 GB, free: 3.566 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.162e-05/0.009712, allocations: 3.938 kB / 0.7945 GB, free: 3.562 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.458e-05/0.009746, allocations: 23.67 kB / 0.7946 GB, free: 3.535 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.009748, allocations: 0 / 0.7946 GB, free: 3.535 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.764e-05/0.009836, allocations: 73.45 kB / 0.7946 GB, free: 3.457 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.009853, allocations: 4 kB / 0.7946 GB, free: 3.453 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.009856, allocations: 0 / 0.7946 GB, free: 3.453 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.009874, allocations: 0.7188 kB / 0.7946 GB, free: 3.453 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.959e-05/0.009944, allocations: 8 kB / 0.7946 GB, free: 3.445 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.009948, allocations: 0.5312 kB / 0.7946 GB, free: 3.445 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.215e-05/0.009981, allocations: 1.062 kB / 0.7946 GB, free: 3.445 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.009988, allocations: 7.938 kB / 0.7946 GB, free: 3.438 MB / 0.698 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.921e-05/0.01007, allocations: 165.1 kB / 0.7948 GB, free: 3.266 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.672e-05/0.0101, allocations: 31.81 kB / 0.7948 GB, free: 3.234 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.01023, allocations: 72.97 kB / 0.7949 GB, free: 3.148 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.01024, allocations: 1.375 kB / 0.7949 GB, free: 3.148 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.01024, allocations: 4.094 kB / 0.7949 GB, free: 3.145 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.01024, allocations: 3.938 kB / 0.7949 GB, free: 3.141 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.01044, allocations: 244.4 kB / 0.7951 GB, free: 2.867 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.01044, allocations: 1.156 kB / 0.7951 GB, free: 2.867 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.796e-05/0.01047, allocations: 4 kB / 0.7951 GB, free: 2.863 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01047, allocations: 4 kB / 0.7952 GB, free: 2.859 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.01048, allocations: 0.9375 kB / 0.7952 GB, free: 2.859 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01048, allocations: 0 / 0.7952 GB, free: 2.859 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.01048, allocations: 9.547 kB / 0.7952 GB, free: 2.852 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.01061, allocations: 223.6 kB / 0.7954 GB, free: 2.613 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.01065, allocations: 39.81 kB / 0.7954 GB, free: 2.574 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.01067, allocations: 3.984 kB / 0.7954 GB, free: 2.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.392e-05/0.01071, allocations: 0 / 0.7954 GB, free: 2.57 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.01074, allocations: 7.859 kB / 0.7954 GB, free: 2.566 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.01075, allocations: 0 / 0.7954 GB, free: 2.566 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00022/0.01097, allocations: 311 kB / 0.7957 GB, free: 2.266 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.01097, allocations: 0 / 0.7957 GB, free: 2.266 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001833/0.01115, allocations: 31.89 kB / 0.7958 GB, free: 2.234 MB / 0.698 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.0007458/0.01189, allocations: 334.6 kB / 0.7961 GB, free: 2.027 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.521e-05/0.01198, allocations: 24.5 kB / 0.7961 GB, free: 2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.01198, allocations: 0 / 0.7961 GB, free: 2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.006e-05/0.012, allocations: 21.02 kB / 0.7961 GB, free: 1.977 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.01227, allocations: 50.92 kB / 0.7962 GB, free: 1.934 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000723/0.013, allocations: 441.3 kB / 0.7966 GB, free: 1.477 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.414e-05/0.01306, allocations: 102.6 kB / 0.7967 GB, free: 1.359 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.085e-05/0.01313, allocations: 43.25 kB / 0.7967 GB, free: 1.312 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.151e-05/0.01318, allocations: 24.48 kB / 0.7967 GB, free: 1.289 MB / 0.698 GB Notification: Performance of SimCode: time 6.61e-07/0.01318, allocations: 3.188 kB / 0.7968 GB, free: 1.289 MB / 0.698 GB Notification: Performance of Templates: time 0.00488/0.01806, allocations: 2.713 MB / 0.7994 GB, free: 14.63 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_ChillerPlant_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.08636585297063]