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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|linPieTwo.u|linPieTwo.y.1.|linPieTwo.y.2.",fileNamePrefix="Buildings_10_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.001181/0.001181, allocations: 111.5 kB / 16.42 MB, free: 6.496 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.001205/0.001205, allocations: 185.7 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.356/1.356, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.498/2.498, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 55.91 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9173/0.9188, allocations: 151.6 MB / 1.167 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.003344/0.9222, allocations: 1.766 MB / 1.169 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001556/0.9238, allocations: 0.924 MB / 1.17 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.645e-05/0.9239, allocations: 11.88 kB / 1.17 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005782/0.9245, allocations: 180.2 kB / 1.17 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004016/0.9249, allocations: 158.1 kB / 1.17 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004493/0.9253, allocations: 216 kB / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002998/0.9257, allocations: 239.5 kB / 1.171 GB, free: 324 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.9258, allocations: 57.59 kB / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.926, allocations: 99.66 kB / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.9262, allocations: 155.5 kB / 1.171 GB, free: 8 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.845e-05/0.9263, allocations: 20.05 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.9264, allocations: 51.94 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.9265, allocations: 87.73 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.9266, allocations: 111.2 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003751/0.927, allocations: 356.5 kB / 1.172 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.927, allocations: 0 / 1.172 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.183e-06/0.927, allocations: 0 / 1.172 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.927, allocations: 4 kB / 1.172 GB, free: 15.39 MB / 0.9044 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.0008535/0.9279, allocations: 0.5953 MB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.9279, allocations: 8.922 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.031e-05/0.928, allocations: 32.56 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005634/0.9286, allocations: 418.1 kB / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.9286, allocations: 8.375 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.9286, allocations: 8.109 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.9288, allocations: 73.67 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.9288, allocations: 4 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.9289, allocations: 0 / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.9289, allocations: 4 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.929, allocations: 51.91 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006026/0.9296, allocations: 480.4 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.9298, allocations: 50.56 kB / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.629e-05/0.9298, allocations: 24.84 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.9299, allocations: 3.984 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.9299, allocations: 30.56 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.9299, allocations: 0 / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0002912/0.9302, allocations: 105.5 kB / 1.173 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.9302, allocations: 51.41 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006189/0.9309, allocations: 0.5523 MB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.9309, allocations: 29.7 kB / 1.174 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.931, allocations: 175.9 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.931, allocations: 3.906 kB / 1.174 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.9311, allocations: 21.7 kB / 1.174 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.9312, allocations: 342.8 kB / 1.175 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.08e-05/0.9313, allocations: 15.92 kB / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.988e-05/0.9313, allocations: 11.98 kB / 1.175 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.877e-05/0.9314, allocations: 40.83 kB / 1.175 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.9314, allocations: 0 / 1.175 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000159/0.9316, allocations: 85.31 kB / 1.175 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.9316, allocations: 18.89 kB / 1.175 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.9316, allocations: 0 / 1.175 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.9317, allocations: 0 / 1.175 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.221e-05/0.9317, allocations: 7.938 kB / 1.175 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.9317, allocations: 0 / 1.175 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.438e-05/0.9318, allocations: 11.94 kB / 1.175 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.9318, allocations: 3.984 kB / 1.175 GB, free: 11.94 MB / 0.9044 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.0001532/0.932, allocations: 181.8 kB / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.465e-05/0.9321, allocations: 27.62 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002039/0.9323, allocations: 96.31 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.9323, allocations: 11.86 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.9323, allocations: 0 / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.9324, allocations: 112.7 kB / 1.175 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/0.9324, allocations: 4 kB / 1.175 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.355e-05/0.9325, allocations: 7.984 kB / 1.175 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.9326, allocations: 4 kB / 1.175 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002027/0.9328, allocations: 140.9 kB / 1.175 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002336/0.933, allocations: 258.4 kB / 1.176 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.297e-05/0.9331, allocations: 19.98 kB / 1.176 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004284/0.9335, allocations: 423.1 kB / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of Backend: time 1.9e-07/0.9335, allocations: 0 / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001286/0.9348, allocations: 444.7 kB / 1.176 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001033/0.9359, allocations: 0.9534 MB / 1.177 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of Templates: time 0.006351/0.9422, allocations: 2.708 MB / 1.18 GB, free: 6.656 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches