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.001002/0.001002, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.0009722/0.0009722, allocations: 165 kB / 23.82 MB, free: 0.75 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.9479/0.9479, allocations: 177.2 MB / 204.2 MB, free: 5.625 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.697/1.697, allocations: 359 MB / 0.6052 GB, free: 11.04 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 1.954e-06/1.954e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.345e-05/3.541e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.003537/0.003573, allocations: 1.855 MB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.005346, allocations: 1.109 MB / 0.79 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001573/0.005503, allocations: 5.094 kB / 0.79 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003977/0.005901, allocations: 135.4 kB / 0.7901 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004392/0.00634, allocations: 204.4 kB / 0.7903 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003944/0.006735, allocations: 224.9 kB / 0.7905 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003356/0.00707, allocations: 267.4 kB / 0.7908 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.007218, allocations: 37.22 kB / 0.7908 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009911/0.008209, allocations: 222.4 kB / 0.791 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.008409, allocations: 151.7 kB / 0.7912 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.215e-05/0.008442, allocations: 23.94 kB / 0.7912 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.008547, allocations: 47.92 kB / 0.7913 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.625e-05/0.008623, allocations: 89.11 kB / 0.7913 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.048e-05/0.008684, allocations: 63.7 kB / 0.7914 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.009014, allocations: 227.1 kB / 0.7916 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.009018, allocations: 1.594 kB / 0.7916 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.283e-06/0.00902, allocations: 4 kB / 0.7916 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.009025, allocations: 0 / 0.7916 GB, free: 7.91 MB / 0.7448 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.00066/0.009686, allocations: 0.6585 MB / 0.7923 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.009724, allocations: 11.56 kB / 0.7923 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001755/0.009899, allocations: 48.69 kB / 0.7923 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004274/0.01033, allocations: 353.4 kB / 0.7927 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.01034, allocations: 384 / 0.7927 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.01035, allocations: 8.375 kB / 0.7927 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.0105, allocations: 70.94 kB / 0.7927 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.01051, allocations: 3.938 kB / 0.7927 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.01053, allocations: 4 kB / 0.7927 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.01053, allocations: 0 / 0.7927 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.867e-05/0.01058, allocations: 24.53 kB / 0.7928 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004705/0.01105, allocations: 436.1 kB / 0.7932 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.734e-05/0.01115, allocations: 39 kB / 0.7932 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.023e-05/0.01118, allocations: 16.23 kB / 0.7932 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.0112, allocations: 1.188 kB / 0.7932 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.01123, allocations: 37.39 kB / 0.7933 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.432e-06/0.01123, allocations: 0 / 0.7933 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001973/0.01143, allocations: 77.97 kB / 0.7933 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.01146, allocations: 52.62 kB / 0.7934 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003583/0.01182, allocations: 458.7 kB / 0.7938 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.01183, allocations: 29.7 kB / 0.7939 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.01195, allocations: 230.8 kB / 0.7941 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.01197, allocations: 16.92 kB / 0.7941 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.621e-05/0.012, allocations: 23.36 kB / 0.7941 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.01215, allocations: 0.5244 MB / 0.7946 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.834e-05/0.01217, allocations: 4 kB / 0.7946 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.315e-05/0.01218, allocations: 3.984 kB / 0.7946 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.732e-05/0.01222, allocations: 20.59 kB / 0.7947 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01222, allocations: 0 / 0.7947 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.121e-05/0.01231, allocations: 82.42 kB / 0.7947 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.01233, allocations: 4 kB / 0.7947 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.01233, allocations: 3.984 kB / 0.7947 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.01235, allocations: 6.219 kB / 0.7948 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.216e-05/0.01242, allocations: 4 kB / 0.7948 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.01243, allocations: 3.984 kB / 0.7948 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.669e-05/0.01246, allocations: 0 / 0.7948 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.01247, allocations: 7.938 kB / 0.7948 GB, free: 4.488 MB / 0.7448 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 8.608e-05/0.01256, allocations: 155.4 kB / 0.7949 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/0.0126, allocations: 39.77 kB / 0.795 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.01273, allocations: 76.36 kB / 0.795 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.01274, allocations: 0 / 0.795 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.01274, allocations: 0 / 0.795 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.01274, allocations: 496 / 0.795 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.01294, allocations: 244.4 kB / 0.7953 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01295, allocations: 0 / 0.7953 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.752e-05/0.01298, allocations: 5.562 kB / 0.7953 GB, free: 3.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.01299, allocations: 4 kB / 0.7953 GB, free: 3.926 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.01299, allocations: 3.984 kB / 0.7953 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.013, allocations: 0 / 0.7953 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.013, allocations: 4.609 kB / 0.7953 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.01313, allocations: 219.7 kB / 0.7955 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.123e-05/0.01318, allocations: 48.31 kB / 0.7955 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.01319, allocations: 0.5625 kB / 0.7955 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.461e-05/0.01324, allocations: 4 kB / 0.7955 GB, free: 3.633 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.01327, allocations: 8.594 kB / 0.7955 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.01328, allocations: 1.281 kB / 0.7955 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002134/0.01349, allocations: 307 kB / 0.7958 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.1e-07/0.01349, allocations: 0 / 0.7958 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000181/0.01367, allocations: 31.94 kB / 0.7959 GB, free: 3.297 MB / 0.7448 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.0008284/0.0145, allocations: 337.4 kB / 0.7962 GB, free: 3.09 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.558e-05/0.01459, allocations: 23.61 kB / 0.7962 GB, free: 3.062 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.0146, allocations: 0 / 0.7962 GB, free: 3.062 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.111e-05/0.01462, allocations: 19.69 kB / 0.7962 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.01495, allocations: 38.41 kB / 0.7963 GB, free: 3.004 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007887/0.01574, allocations: 449.1 kB / 0.7967 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.438e-05/0.0158, allocations: 104.3 kB / 0.7968 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.204e-05/0.01588, allocations: 37.42 kB / 0.7968 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.501e-05/0.01594, allocations: 28.48 kB / 0.7969 GB, free: 2.352 MB / 0.7448 GB Notification: Performance of SimCode: time 1.102e-06/0.01594, allocations: 0 / 0.7969 GB, free: 2.352 MB / 0.7448 GB Notification: Performance of Templates: time 0.005561/0.0215, allocations: 2.796 MB / 0.7996 GB, free: 15.6 MB / 0.7605 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: 4.8701948672533035]