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.001421/0.001422, allocations: 116.1 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.001509/0.001509, allocations: 187.9 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.15 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.431/2.431, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 67.89 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9127/0.9142, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002486/0.9168, allocations: 1.428 MB / 1.169 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0006188/0.9174, allocations: 407 kB / 1.169 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.788e-05/0.9175, allocations: 4 kB / 1.169 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.813e-05/0.9175, allocations: 0 / 1.169 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.809e-05/0.9176, allocations: 3.938 kB / 1.169 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001591/0.9177, allocations: 7.984 kB / 1.169 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.948e-05/0.9178, allocations: 23.94 kB / 1.169 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.9179, allocations: 7.984 kB / 1.169 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.796e-05/0.918, allocations: 15.92 kB / 1.169 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.896e-05/0.9181, allocations: 15.92 kB / 1.169 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.9181, allocations: 0 / 1.169 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.111e-05/0.9181, allocations: 4 kB / 1.169 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2e-05/0.9181, allocations: 7.938 kB / 1.169 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.779e-05/0.9182, allocations: 7.938 kB / 1.169 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.096e-05/0.9183, allocations: 19.97 kB / 1.169 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.9183, allocations: 0 / 1.169 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.522e-06/0.9183, allocations: 3.938 kB / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.9183, allocations: 0 / 1.169 GB, free: 1.922 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.000416/0.9187, allocations: 343.3 kB / 1.17 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.9188, allocations: 8.031 kB / 1.17 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.608e-05/0.9188, allocations: 0.9375 kB / 1.17 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.9189, allocations: 168.3 kB / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.9189, allocations: 384 / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.9189, allocations: 384 / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.9191, allocations: 49.94 kB / 1.17 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.9191, allocations: 0 / 1.17 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.9191, allocations: 0 / 1.17 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.9191, allocations: 4 kB / 1.17 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.057e-05/0.9192, allocations: 19.98 kB / 1.17 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003334/0.9195, allocations: 260.9 kB / 1.17 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.195e-05/0.9196, allocations: 30.52 kB / 1.17 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.268e-05/0.9197, allocations: 20.84 kB / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.9197, allocations: 8 kB / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.9198, allocations: 30.56 kB / 1.17 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.9198, allocations: 0 / 1.17 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.000225/0.92, allocations: 57.67 kB / 1.17 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.92, allocations: 51.41 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.594e-05/0.9201, allocations: 105.8 kB / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.9201, allocations: 25.7 kB / 1.17 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.901e-05/0.9202, allocations: 92.27 kB / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.9202, allocations: 9.672 kB / 1.17 GB, free: 480 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.9203, allocations: 17.72 kB / 1.17 GB, free: 456 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.9204, allocations: 318.8 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.835e-05/0.9204, allocations: 4 kB / 1.171 GB, free: 124 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.365e-05/0.9205, allocations: 15.98 kB / 1.171 GB, free: 108 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.536e-05/0.9206, allocations: 24.91 kB / 1.171 GB, free: 80 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.9206, allocations: 7.938 kB / 1.171 GB, free: 72 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001084/0.9207, allocations: 49.59 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.9207, allocations: 8 kB / 1.171 GB, free: 8 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.9207, allocations: 0 / 1.171 GB, free: 8 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.9207, allocations: 0 / 1.171 GB, free: 8 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.868e-05/0.9208, allocations: 7.938 kB / 1.171 GB, free: 0 / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.9208, allocations: 128 / 1.171 GB, free: 16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.563e-05/0.9209, allocations: 11.92 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.9209, allocations: 4.031 kB / 1.171 GB, free: 15.98 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.51e-05/0.921, allocations: 109.8 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.921, allocations: 4 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.247e-05/0.921, allocations: 7.531 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.921, allocations: 0 / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.921, allocations: 0 / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.837e-05/0.9211, allocations: 77.11 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.9211, allocations: 7.984 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.179e-05/0.9212, allocations: 0 / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.9212, allocations: 7.938 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001646/0.9214, allocations: 129 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001858/0.9216, allocations: 230.7 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.773e-05/0.9216, allocations: 11.98 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.771e-05/0.9217, allocations: 87.59 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of Backend: time 3.21e-07/0.9217, allocations: 0 / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000348/0.922, allocations: 90.39 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004281/0.9225, allocations: 0.5686 MB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of Templates: time 0.002296/0.9248, allocations: 411.1 kB / 1.173 GB, free: 14.16 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