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.001336/0.001336, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001065/0.001065, allocations: 185 kB / 24.09 MB, free: 416 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.8866/0.8866, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.785/1.785, allocations: 359 MB / 0.6055 GB, free: 10.9 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.703e-06/1.703e-06, allocations: 0 / 0.7876 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.325e-05/1.496e-05, allocations: 4 kB / 0.7876 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002987/0.003002, allocations: 1.827 MB / 0.7893 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001654/0.004655, allocations: 1.102 MB / 0.7904 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.004804, allocations: 7.938 kB / 0.7904 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004402/0.005244, allocations: 131.5 kB / 0.7905 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005052/0.00575, allocations: 209.1 kB / 0.7907 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004834/0.006233, allocations: 219.4 kB / 0.791 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003622/0.006595, allocations: 272.9 kB / 0.7912 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.006736, allocations: 32.58 kB / 0.7912 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007671/0.007503, allocations: 230.7 kB / 0.7915 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.007707, allocations: 148.8 kB / 0.7916 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.751e-05/0.007745, allocations: 20 kB / 0.7916 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.007855, allocations: 55.92 kB / 0.7917 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0003491/0.008204, allocations: 92.3 kB / 0.7918 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.212e-05/0.008266, allocations: 55.8 kB / 0.7918 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000323/0.008589, allocations: 232.1 kB / 0.792 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.008592, allocations: 0 / 0.792 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.12e-07/0.008592, allocations: 0 / 0.792 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.008596, allocations: 2.594 kB / 0.792 GB, free: 7.66 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.0006888/0.009285, allocations: 0.6507 MB / 0.7927 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.009322, allocations: 12.03 kB / 0.7927 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.009469, allocations: 48.69 kB / 0.7927 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.00988, allocations: 345.3 kB / 0.7931 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.00989, allocations: 1.094 kB / 0.7931 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-06/0.0099, allocations: 4.375 kB / 0.7931 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.01001, allocations: 75.34 kB / 0.7931 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.01002, allocations: 3.938 kB / 0.7932 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.01003, allocations: 5.656 kB / 0.7932 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.01004, allocations: 0 / 0.7932 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.815e-05/0.01007, allocations: 11.98 kB / 0.7932 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.01048, allocations: 372 kB / 0.7935 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.087e-05/0.01055, allocations: 35.72 kB / 0.7936 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.394e-05/0.01058, allocations: 12.72 kB / 0.7936 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.0106, allocations: 7.922 kB / 0.7936 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.01062, allocations: 38.55 kB / 0.7936 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.01062, allocations: 0 / 0.7936 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.000118/0.01074, allocations: 73.5 kB / 0.7937 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.381e-05/0.01076, allocations: 52.78 kB / 0.7937 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.01102, allocations: 442.5 kB / 0.7942 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.226e-06/0.01103, allocations: 25.7 kB / 0.7942 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.01114, allocations: 246.7 kB / 0.7944 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.01115, allocations: 13.62 kB / 0.7944 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/0.01118, allocations: 23.36 kB / 0.7945 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.01131, allocations: 0.5312 MB / 0.795 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.636e-06/0.01131, allocations: 4 kB / 0.795 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.516e-06/0.01132, allocations: 7.938 kB / 0.795 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.254e-05/0.01135, allocations: 17.25 kB / 0.795 GB, free: 4.453 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.01135, allocations: 0 / 0.795 GB, free: 4.453 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.758e-05/0.01141, allocations: 77.44 kB / 0.7951 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.01142, allocations: 4.844 kB / 0.7951 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.01143, allocations: 112 / 0.7951 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.01144, allocations: 5 kB / 0.7951 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.372e-05/0.01148, allocations: 11.98 kB / 0.7951 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.923e-06/0.01148, allocations: 0 / 0.7951 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.186e-05/0.01152, allocations: 1.375 kB / 0.7951 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.01152, allocations: 7.938 kB / 0.7951 GB, free: 4.344 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 6.418e-05/0.01158, allocations: 160.5 kB / 0.7953 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.01161, allocations: 41.14 kB / 0.7953 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.712e-05/0.0117, allocations: 68.42 kB / 0.7954 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.0117, allocations: 4 kB / 0.7954 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.0117, allocations: 0 / 0.7954 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.01171, allocations: 2.969 kB / 0.7954 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.01185, allocations: 185 kB / 0.7955 GB, free: 3.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.01185, allocations: 0 / 0.7955 GB, free: 3.852 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.909e-05/0.01187, allocations: 8 kB / 0.7955 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.01187, allocations: 0 / 0.7955 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.01187, allocations: 4 kB / 0.7956 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.01188, allocations: 0 / 0.7956 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.01188, allocations: 0 / 0.7956 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.426e-05/0.01197, allocations: 220.1 kB / 0.7958 GB, free: 3.605 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.414e-05/0.012, allocations: 45.69 kB / 0.7958 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.01202, allocations: 0 / 0.7958 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.039e-05/0.01206, allocations: 0 / 0.7958 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.058e-05/0.01208, allocations: 7.984 kB / 0.7958 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-06/0.01208, allocations: 0 / 0.7958 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001461/0.01223, allocations: 283 kB / 0.7961 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01223, allocations: 0.8438 kB / 0.7961 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001582/0.01239, allocations: 27.94 kB / 0.7961 GB, free: 3.25 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.0006108/0.013, allocations: 340 kB / 0.7964 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.866e-05/0.01306, allocations: 23.61 kB / 0.7965 GB, free: 3.012 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.01306, allocations: 0 / 0.7965 GB, free: 3.012 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.477e-05/0.01307, allocations: 17.36 kB / 0.7965 GB, free: 2.992 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.0133, allocations: 54.61 kB / 0.7965 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00054/0.01384, allocations: 440.7 kB / 0.7969 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.609e-05/0.01389, allocations: 109.6 kB / 0.7971 GB, free: 2.355 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.591e-05/0.01395, allocations: 36.36 kB / 0.7971 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.276e-05/0.01403, allocations: 102.2 kB / 0.7972 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/0.01403, allocations: 4.656 kB / 0.7972 GB, free: 2.215 MB / 0.7448 GB Notification: Performance of Templates: time 0.004334/0.01837, allocations: 2.847 MB / 0.8 GB, free: 15.42 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.799448932055384]