Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 110.9 kB / 16.42 MB, free: 5.973 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.001846/0.001846, allocations: 186.7 kB / 17.35 MB, free: 5.586 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.491/1.491, allocations: 222.9 MB / 241.1 MB, free: 15.17 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.547/2.547, allocations: 437 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 64.11 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8686/0.87, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.003343/0.8734, allocations: 1.428 MB / 1.169 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007907/0.8742, allocations: 395.1 kB / 1.169 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.385e-05/0.8743, allocations: 0 / 1.169 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.196e-05/0.8743, allocations: 7.938 kB / 1.169 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.14e-05/0.8744, allocations: 3.938 kB / 1.169 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.8746, allocations: 7.984 kB / 1.169 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.632e-05/0.8747, allocations: 27.92 kB / 1.169 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.8748, allocations: 7.984 kB / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.8749, allocations: 11.94 kB / 1.169 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.283e-05/0.875, allocations: 11.98 kB / 1.169 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.875, allocations: 0 / 1.169 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.214e-05/0.875, allocations: 4 kB / 1.169 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.294e-05/0.8751, allocations: 11.88 kB / 1.169 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.612e-05/0.8751, allocations: 7.938 kB / 1.169 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.8752, allocations: 27.89 kB / 1.169 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.8752, allocations: 3.938 kB / 1.169 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.834e-06/0.8752, allocations: 0 / 1.169 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.8752, allocations: 0 / 1.169 GB, free: 1.906 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004901/0.8757, allocations: 347.9 kB / 1.17 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.469e-05/0.8758, allocations: 8.031 kB / 1.17 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.187e-05/0.8759, allocations: 0.9375 kB / 1.17 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.876, allocations: 164.4 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.876, allocations: 384 / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.876, allocations: 384 / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.8762, allocations: 46 kB / 1.17 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.8762, allocations: 0 / 1.17 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.8762, allocations: 0 / 1.17 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.8762, allocations: 4 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.702e-05/0.8763, allocations: 23.97 kB / 1.17 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003735/0.8767, allocations: 264.8 kB / 1.17 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.427e-05/0.8768, allocations: 26.58 kB / 1.17 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.03e-05/0.8769, allocations: 20.91 kB / 1.17 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.8769, allocations: 4 kB / 1.17 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.877, allocations: 30.56 kB / 1.17 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.877, allocations: 0 / 1.17 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0002698/0.8772, allocations: 61.61 kB / 1.17 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.8773, allocations: 51.41 kB / 1.17 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.938e-05/0.8774, allocations: 105.8 kB / 1.17 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.8774, allocations: 25.7 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.148e-05/0.8775, allocations: 92.27 kB / 1.17 GB, free: 472 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.8775, allocations: 7.891 kB / 1.17 GB, free: 464 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.8776, allocations: 17.72 kB / 1.17 GB, free: 440 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.8777, allocations: 318.8 kB / 1.171 GB, free: 112 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.179e-05/0.8777, allocations: 4 kB / 1.171 GB, free: 108 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.576e-05/0.8778, allocations: 11.98 kB / 1.171 GB, free: 96 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.439e-05/0.8779, allocations: 28.91 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.8779, allocations: 3.938 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001375/0.878, allocations: 53.62 kB / 1.171 GB, free: 0 / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.878, allocations: 10.78 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.8781, allocations: 3.938 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.8781, allocations: 0 / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.853e-05/0.8782, allocations: 4 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.8782, allocations: 3.984 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.571e-05/0.8782, allocations: 11.89 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-06/0.8782, allocations: 4.031 kB / 1.171 GB, free: 15.96 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 (2): * Single equations (assignments): 2 * 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 8.013e-05/0.8783, allocations: 109.8 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/0.8784, allocations: 4 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.208e-05/0.8784, allocations: 7.531 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.8784, allocations: 0 / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.8784, allocations: 0 / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.692e-05/0.8784, allocations: 81.09 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.8785, allocations: 4 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.411e-05/0.8785, allocations: 0 / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/0.8786, allocations: 7.938 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000167/0.8787, allocations: 132.9 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001914/0.8789, allocations: 222.8 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.732e-05/0.879, allocations: 11.98 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.14e-05/0.879, allocations: 87.59 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of Backend: time 4.61e-07/0.879, allocations: 0 / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003717/0.8794, allocations: 95.45 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004737/0.8799, allocations: 0.562 MB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of Templates: time 0.002715/0.8826, allocations: 412.6 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches