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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001836/0.001836, allocations: 117.5 kB / 16.42 MB, free: 6.012 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.001662/0.001662, allocations: 188.6 kB / 17.35 MB, free: 5.625 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.394/1.394, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.641/2.641, allocations: 461.7 MB / 0.7352 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 59.91 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047/1.049, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.003437/1.052, allocations: 1.783 MB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001585/1.054, allocations: 0.9123 MB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/1.054, allocations: 4 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006192/1.055, allocations: 171.1 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004828/1.055, allocations: 178.8 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005083/1.056, allocations: 194.4 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003613/1.056, allocations: 243.4 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/1.056, allocations: 53.66 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/1.056, allocations: 107.6 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000247/1.057, allocations: 151.5 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.051e-05/1.057, allocations: 20 kB / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/1.057, allocations: 43.98 kB / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001154/1.057, allocations: 87.73 kB / 1.212 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001128/1.057, allocations: 111.2 kB / 1.212 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003773/1.057, allocations: 360.5 kB / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.057, allocations: 8 kB / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.783e-06/1.057, allocations: 0 / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.055e-06/1.057, allocations: 0 / 1.212 GB, free: 9.273 MB / 0.9356 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.0008558/1.058, allocations: 0.5953 MB / 1.213 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/1.058, allocations: 11.97 kB / 1.213 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.909e-05/1.058, allocations: 32.55 kB / 1.213 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000535/1.059, allocations: 418.2 kB / 1.214 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/1.059, allocations: 4.375 kB / 1.214 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/1.059, allocations: 8.125 kB / 1.214 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/1.059, allocations: 81.61 kB / 1.214 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/1.059, allocations: 0 / 1.214 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/1.059, allocations: 4 kB / 1.214 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/1.059, allocations: 0 / 1.214 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/1.059, allocations: 43.97 kB / 1.214 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006619/1.06, allocations: 492.3 kB / 1.214 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/1.06, allocations: 54.48 kB / 1.214 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.379e-05/1.06, allocations: 20.91 kB / 1.214 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/1.06, allocations: 0 / 1.214 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/1.06, allocations: 38.56 kB / 1.214 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/1.06, allocations: 0 / 1.214 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0003179/1.061, allocations: 97.31 kB / 1.214 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/1.061, allocations: 55.41 kB / 1.214 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006529/1.061, allocations: 0.5639 MB / 1.215 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/1.061, allocations: 25.7 kB / 1.215 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/1.061, allocations: 168 kB / 1.215 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/1.061, allocations: 15.89 kB / 1.215 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/1.061, allocations: 13.72 kB / 1.215 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.062, allocations: 338.8 kB / 1.215 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.938e-05/1.062, allocations: 15.98 kB / 1.215 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.939e-05/1.062, allocations: 19.98 kB / 1.215 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.729e-05/1.062, allocations: 32.84 kB / 1.216 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.062, allocations: 0 / 1.216 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001721/1.062, allocations: 85.3 kB / 1.216 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/1.062, allocations: 4 kB / 1.216 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/1.062, allocations: 0 / 1.216 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/1.062, allocations: 3.938 kB / 1.216 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.332e-05/1.062, allocations: 15.94 kB / 1.216 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/1.062, allocations: 4 kB / 1.216 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.929e-05/1.062, allocations: 7.984 kB / 1.216 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/1.062, allocations: 4 kB / 1.216 GB, free: 5.812 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.0001453/1.062, allocations: 176.1 kB / 1.216 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.569e-05/1.062, allocations: 31.62 kB / 1.216 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/1.063, allocations: 96.19 kB / 1.216 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/1.063, allocations: 7.938 kB / 1.216 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/1.063, allocations: 0 / 1.216 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.644e-05/1.063, allocations: 120.7 kB / 1.216 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/1.063, allocations: 3.938 kB / 1.216 GB, free: 5.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.028e-05/1.063, allocations: 4 kB / 1.216 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/1.063, allocations: 3.938 kB / 1.216 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000167/1.063, allocations: 141.3 kB / 1.216 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002352/1.063, allocations: 266.5 kB / 1.216 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.661e-05/1.063, allocations: 23.86 kB / 1.216 GB, free: 4.895 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004212/1.064, allocations: 419.1 kB / 1.217 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of Backend: time 4.11e-07/1.064, allocations: 0 / 1.217 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001262/1.065, allocations: 433.4 kB / 1.217 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of SimCode: time 0.001034/1.066, allocations: 0.9778 MB / 1.218 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of Templates: time 0.006266/1.072, allocations: 2.679 MB / 1.221 GB, free: 0.5664 MB / 0.9356 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