Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_latest_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_latest_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.001388/0.001388, allocations: 113.7 kB / 16.37 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.001445/0.001445, allocations: 191.2 kB / 17.31 MB, free: 5.613 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.41/1.41, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.58/2.58, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001416, allocations: 62.83 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3372, allocations: 153 MB / 1.027 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.003674/0.3409, allocations: 1.443 MB / 1.028 GB, free: 0.582 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008121/0.3418, allocations: 398.9 kB / 1.029 GB, free: 192 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.068e-05/0.3418, allocations: 0 / 1.029 GB, free: 192 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.516e-05/0.3419, allocations: 0 / 1.029 GB, free: 192 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.671e-05/0.342, allocations: 3.938 kB / 1.029 GB, free: 188 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.3422, allocations: 15.97 kB / 1.029 GB, free: 172 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.45e-05/0.3423, allocations: 27.86 kB / 1.029 GB, free: 144 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.3424, allocations: 8 kB / 1.029 GB, free: 136 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.3425, allocations: 15.92 kB / 1.029 GB, free: 120 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.3427, allocations: 7.938 kB / 1.029 GB, free: 112 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.3427, allocations: 0 / 1.029 GB, free: 112 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.126e-05/0.3427, allocations: 4 kB / 1.029 GB, free: 108 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.3427, allocations: 7.984 kB / 1.029 GB, free: 100 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.3428, allocations: 11.92 kB / 1.029 GB, free: 88 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.754e-05/0.3429, allocations: 27.91 kB / 1.029 GB, free: 60 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.3429, allocations: 4 kB / 1.029 GB, free: 56 kB / 0.795 GB Notification: Performance of FrontEnd: time 3.737e-06/0.3429, allocations: 0 / 1.029 GB, free: 56 kB / 0.795 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.3429, allocations: 0 / 1.029 GB, free: 56 kB / 0.795 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.0004515/0.3433, allocations: 327.4 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.973e-05/0.3434, allocations: 8.031 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.3435, allocations: 8.938 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.3436, allocations: 168.3 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.3436, allocations: 4.359 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.3437, allocations: 8.375 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.3438, allocations: 49.94 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3438, allocations: 0 / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.3438, allocations: 3.938 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.3439, allocations: 0 / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.898e-05/0.3439, allocations: 19.98 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003951/0.3444, allocations: 244.9 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.603e-05/0.3445, allocations: 38.5 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.962e-05/0.3445, allocations: 12.92 kB / 1.03 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.3445, allocations: 3.984 kB / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.3446, allocations: 38.56 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.3446, allocations: 3.938 kB / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002794/0.3449, allocations: 57.69 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.3449, allocations: 51.41 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.041e-05/0.345, allocations: 109.8 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.345, allocations: 25.7 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.998e-05/0.3451, allocations: 84.14 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.3451, allocations: 11.83 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.3451, allocations: 17.66 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.3453, allocations: 315 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.208e-05/0.3453, allocations: 12.23 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.057e-05/0.3454, allocations: 8 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.3455, allocations: 36.78 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3455, allocations: 0 / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000114/0.3456, allocations: 49.69 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3457, allocations: 4 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3457, allocations: 4.094 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3457, allocations: 0 / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.711e-05/0.3458, allocations: 7.984 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.3458, allocations: 3.938 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.352e-05/0.3458, allocations: 7.906 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.3458, allocations: 0 / 1.03 GB, free: 14.12 MB / 0.8106 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.08e-05/0.3459, allocations: 117.7 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.346, allocations: 0 / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.547e-05/0.346, allocations: 11.52 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.346, allocations: 4 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.346, allocations: 0 / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.346, allocations: 4 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.3462, allocations: 157.6 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3462, allocations: 3.938 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.518e-05/0.3463, allocations: 7.984 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3463, allocations: 0 / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.3463, allocations: 0 / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3463, allocations: 0 / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3463, allocations: 0 / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.3465, allocations: 159.4 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.725e-05/0.3465, allocations: 85 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.3466, allocations: 0 / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.693e-05/0.3466, allocations: 0 / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.3467, allocations: 4 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.3467, allocations: 0 / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.937e-05/0.3467, allocations: 87.3 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3467, allocations: 4 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002105/0.347, allocations: 7.938 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0001315/0.3471, allocations: 98.38 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001686/0.3473, allocations: 23.98 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3473, allocations: 0 / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.375e-05/0.3473, allocations: 11.98 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.3476, allocations: 12 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003426/0.3479, allocations: 113.4 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.3482, allocations: 0.6769 MB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.261e-05/0.3483, allocations: 7.984 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.325e-05/0.3483, allocations: 7.438 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of SimCode: time 5.91e-07/0.3483, allocations: 0 / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of Templates: time 0.002354/0.3507, allocations: 322.5 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches