Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,variableFilter="time|linPieTwo.u|linPieTwo.y.1.|linPieTwo.y.2.",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|linPieTwo.u|linPieTwo.y.1.|linPieTwo.y.2.",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 113.1 kB / 16.42 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001537/0.001538, allocations: 186.5 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.864/2.864, allocations: 469.4 MB / 0.7428 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 64.11 kB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.006, allocations: 159.1 MB / 1.221 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.004413/1.01, allocations: 1.768 MB / 1.223 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001859/1.012, allocations: 0.9248 MB / 1.224 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/1.012, allocations: 4 kB / 1.224 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006824/1.013, allocations: 179.9 kB / 1.224 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005512/1.014, allocations: 167 kB / 1.224 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000685/1.014, allocations: 210.6 kB / 1.224 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004546/1.015, allocations: 243.5 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002691/1.015, allocations: 53.67 kB / 1.224 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003526/1.015, allocations: 107.6 kB / 1.224 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003604/1.016, allocations: 151.5 kB / 1.225 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001149/1.016, allocations: 16 kB / 1.225 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/1.016, allocations: 47.98 kB / 1.225 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001597/1.016, allocations: 87.73 kB / 1.225 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001547/1.016, allocations: 119.2 kB / 1.225 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006054/1.017, allocations: 348.5 kB / 1.225 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.017, allocations: 0 / 1.225 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.345e-06/1.017, allocations: 4 kB / 1.225 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.49e-05/1.017, allocations: 0 / 1.225 GB, free: 13.97 MB / 0.9512 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.001411/1.019, allocations: 0.6069 MB / 1.226 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 7.115e-05/1.019, allocations: 8.625 kB / 1.226 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/1.019, allocations: 36.47 kB / 1.226 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007028/1.019, allocations: 414.2 kB / 1.226 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/1.02, allocations: 4.375 kB / 1.226 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/1.02, allocations: 12.11 kB / 1.226 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/1.02, allocations: 81.66 kB / 1.226 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/1.02, allocations: 0 / 1.226 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/1.02, allocations: 0 / 1.226 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/1.02, allocations: 0 / 1.226 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/1.02, allocations: 51.91 kB / 1.226 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008335/1.021, allocations: 480.5 kB / 1.227 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/1.021, allocations: 50.5 kB / 1.227 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.43e-05/1.021, allocations: 16.92 kB / 1.227 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.814e-05/1.021, allocations: 7.984 kB / 1.227 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/1.021, allocations: 30.56 kB / 1.227 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 2.104e-06/1.021, allocations: 0 / 1.227 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0003981/1.022, allocations: 109.1 kB / 1.227 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/1.022, allocations: 51.41 kB / 1.227 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007039/1.022, allocations: 0.5563 MB / 1.228 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/1.022, allocations: 25.7 kB / 1.228 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/1.023, allocations: 179.9 kB / 1.228 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/1.023, allocations: 3.906 kB / 1.228 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.679e-05/1.023, allocations: 17.72 kB / 1.228 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001716/1.023, allocations: 342.8 kB / 1.228 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.133e-05/1.023, allocations: 12 kB / 1.228 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.1e-05/1.023, allocations: 15.98 kB / 1.228 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.386e-05/1.023, allocations: 32.84 kB / 1.228 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/1.023, allocations: 0 / 1.228 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001894/1.023, allocations: 93.23 kB / 1.228 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/1.023, allocations: 4 kB / 1.228 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/1.023, allocations: 0 / 1.228 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/1.023, allocations: 0 / 1.228 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.696e-05/1.023, allocations: 15.92 kB / 1.228 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/1.023, allocations: 0 / 1.228 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.126e-05/1.023, allocations: 8 kB / 1.228 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/1.023, allocations: 0 / 1.228 GB, free: 10.52 MB / 0.9512 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.0002029/1.024, allocations: 177.8 kB / 1.228 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.587e-05/1.024, allocations: 31.62 kB / 1.229 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/1.024, allocations: 108.5 kB / 1.229 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/1.024, allocations: 3.938 kB / 1.229 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/1.024, allocations: 3.938 kB / 1.229 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/1.024, allocations: 112.7 kB / 1.229 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/1.024, allocations: 4 kB / 1.229 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.149e-05/1.024, allocations: 8 kB / 1.229 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/1.024, allocations: 3.984 kB / 1.229 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002112/1.025, allocations: 137 kB / 1.229 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002906/1.025, allocations: 262.4 kB / 1.229 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.875e-05/1.025, allocations: 31.92 kB / 1.229 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005354/1.026, allocations: 415.1 kB / 1.23 GB, free: 9.191 MB / 0.9512 GB Notification: Performance of Backend: time 3e-07/1.026, allocations: 0 / 1.23 GB, free: 9.191 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001773/1.027, allocations: 440.8 kB / 1.23 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001512/1.029, allocations: 0.9649 MB / 1.231 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of Templates: time 0.007571/1.036, allocations: 2.703 MB / 1.234 GB, free: 5.246 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_LinearPiecewiseTwo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches