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.001548/0.001548, allocations: 80.2 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001611/0.001611, allocations: 173.8 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.454/1.454, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 2.655/2.655, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 177] 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.1.|linPieTwo.y.2.",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.1.|linPieTwo.y.2.",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.88e-05/3.087e-05, allocations: 8.609 kB / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.003614/0.003645, allocations: 1.787 MB / 0.9527 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001991/0.005636, allocations: 1.083 MB / 0.9538 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.284e-05/0.005728, allocations: 7.875 kB / 0.9538 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005412/0.00627, allocations: 186.7 kB / 0.954 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005221/0.006792, allocations: 214.3 kB / 0.9542 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005053/0.007297, allocations: 226.4 kB / 0.9544 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003602/0.007657, allocations: 271.3 kB / 0.9546 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.00781, allocations: 44.47 kB / 0.9547 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002607/0.008071, allocations: 143.6 kB / 0.9548 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.008294, allocations: 151.7 kB / 0.955 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.691e-05/0.00834, allocations: 20 kB / 0.955 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.008459, allocations: 51.92 kB / 0.955 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.008585, allocations: 95.69 kB / 0.9551 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.494e-05/0.008669, allocations: 59.78 kB / 0.9552 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004478/0.009117, allocations: 370.8 kB / 0.9555 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.009121, allocations: 0 / 0.9555 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.326e-06/0.009124, allocations: 4 kB / 0.9555 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.828e-06/0.009134, allocations: 0 / 0.9555 GB, free: 6.887 MB / 0.8575 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.000883/0.01002, allocations: 0.5547 MB / 0.9561 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.01005, allocations: 8.031 kB / 0.9561 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001802/0.01023, allocations: 40.7 kB / 0.9561 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006388/0.01087, allocations: 371.9 kB / 0.9565 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.01088, allocations: 4.375 kB / 0.9565 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.0109, allocations: 8.375 kB / 0.9565 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.01108, allocations: 82.16 kB / 0.9566 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.01109, allocations: 3.938 kB / 0.9566 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.0111, allocations: 0 / 0.9566 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.0111, allocations: 4 kB / 0.9566 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.01124, allocations: 43.97 kB / 0.9566 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005731/0.01181, allocations: 408.2 kB / 0.957 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.01195, allocations: 42.56 kB / 0.9571 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.758e-05/0.01201, allocations: 20.92 kB / 0.9571 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.01203, allocations: 3.984 kB / 0.9571 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.01206, allocations: 34.56 kB / 0.9571 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.01206, allocations: 0 / 0.9571 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0003032/0.01236, allocations: 101.4 kB / 0.9572 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.0124, allocations: 55.34 kB / 0.9573 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007189/0.01312, allocations: 0.5835 MB / 0.9578 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.01314, allocations: 25.7 kB / 0.9579 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.01329, allocations: 176 kB / 0.958 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.01331, allocations: 15.84 kB / 0.958 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.01335, allocations: 17.72 kB / 0.9581 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.01352, allocations: 354.7 kB / 0.9584 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.805e-05/0.01357, allocations: 4 kB / 0.9584 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.746e-05/0.01362, allocations: 19.98 kB / 0.9584 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.01374, allocations: 36.78 kB / 0.9585 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.01374, allocations: 0 / 0.9585 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001856/0.01392, allocations: 93.48 kB / 0.9585 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.01393, allocations: 4 kB / 0.9585 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.01394, allocations: 4 kB / 0.9585 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.01396, allocations: 0 / 0.9585 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.782e-05/0.01403, allocations: 11.98 kB / 0.9586 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.01404, allocations: 0 / 0.9586 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.52e-05/0.0141, allocations: 0 / 0.9586 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.01411, allocations: 3.938 kB / 0.9586 GB, free: 3.621 MB / 0.8575 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 0.0001647/0.01428, allocations: 181.8 kB / 0.9587 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.048e-05/0.01435, allocations: 39.75 kB / 0.9588 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002378/0.01458, allocations: 100.7 kB / 0.9589 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.01459, allocations: 4.031 kB / 0.9589 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.01459, allocations: 4 kB / 0.9589 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.01459, allocations: 0 / 0.9589 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000274/0.01487, allocations: 221.1 kB / 0.9591 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.01487, allocations: 0 / 0.9591 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-05/0.01492, allocations: 4.109 kB / 0.9591 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.01492, allocations: 3.938 kB / 0.9591 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.01493, allocations: 4 kB / 0.9591 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.01493, allocations: 0 / 0.9591 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01493, allocations: 0 / 0.9591 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.01517, allocations: 195.2 kB / 0.9593 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.458e-05/0.01524, allocations: 43.8 kB / 0.9593 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/0.01527, allocations: 0 / 0.9593 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.01538, allocations: 7.984 kB / 0.9593 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.01541, allocations: 0 / 0.9593 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.01542, allocations: 4 kB / 0.9593 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005074/0.01592, allocations: 435.1 kB / 0.9598 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01592, allocations: 0 / 0.9598 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002783/0.0162, allocations: 31.89 kB / 0.9598 GB, free: 2.305 MB / 0.8575 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.001398/0.0176, allocations: 382.1 kB / 0.9601 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001602/0.01776, allocations: 43.91 kB / 0.9602 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.01776, allocations: 0 / 0.9602 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.753e-05/0.01782, allocations: 15.94 kB / 0.9602 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.01822, allocations: 49.41 kB / 0.9603 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008476/0.01906, allocations: 0.5279 MB / 0.9608 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/0.01926, allocations: 178.1 kB / 0.9609 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001088/0.01937, allocations: 55.44 kB / 0.961 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.358e-05/0.01943, allocations: 28.42 kB / 0.961 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of SimCode: time 4.01e-07/0.01943, allocations: 0 / 0.961 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of Templates: time 0.006853/0.02628, allocations: 2.69 MB / 0.9636 GB, free: 14.48 MB / 0.8731 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.773488767445087]