Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 106.9 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002129/0.002129, allocations: 191.7 kB / 20.03 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.644/2.644, allocations: 437.1 MB / 0.7177 GB, free: 4.539 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 67.89 kB / 1.028 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3311, allocations: 151.6 MB / 1.176 GB, free: 5.926 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.003354/0.3345, allocations: 1.775 MB / 1.178 GB, free: 4.129 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.336, allocations: 0.9201 MB / 1.178 GB, free: 3.203 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.5e-05/0.3361, allocations: 0 / 1.178 GB, free: 3.203 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005319/0.3367, allocations: 178.5 kB / 1.179 GB, free: 3.031 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004239/0.3371, allocations: 171.5 kB / 1.179 GB, free: 2.867 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004604/0.3376, allocations: 203.3 kB / 1.179 GB, free: 2.672 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003195/0.3379, allocations: 247.4 kB / 1.179 GB, free: 2.43 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.3381, allocations: 57.59 kB / 1.179 GB, free: 2.371 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.3382, allocations: 103.6 kB / 1.179 GB, free: 2.27 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002275/0.3385, allocations: 155.5 kB / 1.18 GB, free: 2.117 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.533e-05/0.3385, allocations: 20 kB / 1.18 GB, free: 2.098 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.3386, allocations: 47.98 kB / 1.18 GB, free: 2.051 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.3388, allocations: 87.73 kB / 1.18 GB, free: 1.965 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.3389, allocations: 111.2 kB / 1.18 GB, free: 1.855 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004213/0.3393, allocations: 350.5 kB / 1.18 GB, free: 1.512 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3393, allocations: 3.938 kB / 1.18 GB, free: 1.508 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3393, allocations: 0 / 1.18 GB, free: 1.508 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.3394, allocations: 0 / 1.18 GB, free: 1.508 MB / 0.92 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.0009036/0.3403, allocations: 0.6206 MB / 1.181 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.3403, allocations: 12.03 kB / 1.181 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.984e-05/0.3404, allocations: 32.7 kB / 1.181 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006443/0.341, allocations: 422.6 kB / 1.181 GB, free: 356 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.3411, allocations: 4.375 kB / 1.181 GB, free: 352 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.3411, allocations: 8.125 kB / 1.181 GB, free: 344 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.3413, allocations: 73.66 kB / 1.181 GB, free: 264 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.3413, allocations: 4 kB / 1.181 GB, free: 260 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.3413, allocations: 0 / 1.181 GB, free: 260 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3413, allocations: 0 / 1.181 GB, free: 260 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.3415, allocations: 47.97 kB / 1.181 GB, free: 212 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006851/0.3422, allocations: 496.5 kB / 1.182 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.3423, allocations: 46.5 kB / 1.182 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.913e-05/0.3424, allocations: 20.91 kB / 1.182 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.3424, allocations: 0 / 1.182 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.3425, allocations: 34.56 kB / 1.182 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3425, allocations: 4 kB / 1.182 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0003204/0.3428, allocations: 105.4 kB / 1.182 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.3428, allocations: 51.41 kB / 1.182 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006893/0.3435, allocations: 0.5562 MB / 1.183 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.3436, allocations: 29.7 kB / 1.183 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.3437, allocations: 172 kB / 1.183 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.3438, allocations: 7.953 kB / 1.183 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/0.3438, allocations: 17.72 kB / 1.183 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.344, allocations: 350.8 kB / 1.183 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.398e-05/0.3441, allocations: 16 kB / 1.183 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.388e-05/0.3441, allocations: 15.98 kB / 1.183 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.531e-05/0.3442, allocations: 28.84 kB / 1.183 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3442, allocations: 0 / 1.183 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000179/0.3444, allocations: 93.44 kB / 1.183 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3444, allocations: 8 kB / 1.183 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3444, allocations: 0 / 1.183 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.3445, allocations: 3.938 kB / 1.183 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.113e-05/0.3446, allocations: 15.92 kB / 1.183 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.3446, allocations: 0 / 1.183 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.882e-05/0.3446, allocations: 0 / 1.183 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.3446, allocations: 8 kB / 1.183 GB, free: 14.02 MB / 0.9356 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.0001721/0.3448, allocations: 177.8 kB / 1.183 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.562e-05/0.3449, allocations: 27.81 kB / 1.184 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.3451, allocations: 104.1 kB / 1.184 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.3451, allocations: 7.938 kB / 1.184 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3452, allocations: 0 / 1.184 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3452, allocations: 0 / 1.184 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003351/0.3455, allocations: 285.5 kB / 1.184 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3455, allocations: 0 / 1.184 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.975e-05/0.3456, allocations: 11.94 kB / 1.184 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.3456, allocations: 384 / 1.184 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.3456, allocations: 112 / 1.184 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.3456, allocations: 7.875 kB / 1.184 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3456, allocations: 4 kB / 1.184 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.3458, allocations: 191.3 kB / 1.184 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.346, allocations: 120.9 kB / 1.184 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.346, allocations: 0 / 1.184 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.316e-05/0.3461, allocations: 11.92 kB / 1.184 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.3461, allocations: 0 / 1.184 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.3461, allocations: 0 / 1.184 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004921/0.3466, allocations: 423.1 kB / 1.185 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3467, allocations: 0 / 1.185 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002682/0.3469, allocations: 23.98 kB / 1.185 GB, free: 12.55 MB / 0.9356 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.001344/0.3483, allocations: 358.8 kB / 1.185 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001703/0.3485, allocations: 27.97 kB / 1.185 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3485, allocations: 0 / 1.185 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.881e-05/0.3485, allocations: 19.98 kB / 1.185 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/0.349, allocations: 40.78 kB / 1.185 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009259/0.35, allocations: 0.5617 MB / 1.186 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/0.3504, allocations: 0.7831 MB / 1.186 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.856e-05/0.3505, allocations: 23.42 kB / 1.186 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of SimCode: time 2.9e-07/0.3505, allocations: 0 / 1.186 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of Templates: time 0.006488/0.357, allocations: 3.576 MB / 1.19 GB, free: 7.254 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_LinearPiecewiseTwo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.88904693594668]