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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004718/0.004718, allocations: 101.8 kB / 15.73 MB, free: 6.051 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.001285/0.001285, allocations: 188.4 kB / 16.67 MB, free: 5.973 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.64/2.64, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 72.11 kB / 1.054 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7732/0.7747, allocations: 157.4 MB / 1.207 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002659/0.7774, allocations: 1.434 MB / 1.209 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0006614/0.7781, allocations: 395.1 kB / 1.209 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.858e-05/0.7782, allocations: 0 / 1.209 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.122e-05/0.7782, allocations: 3.938 kB / 1.209 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.437e-05/0.7783, allocations: 7.938 kB / 1.209 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001437/0.7785, allocations: 4 kB / 1.209 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.991e-05/0.7786, allocations: 31.91 kB / 1.209 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.259e-05/0.7787, allocations: 3.984 kB / 1.209 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.625e-05/0.7788, allocations: 15.94 kB / 1.209 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.229e-05/0.7788, allocations: 3.984 kB / 1.209 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.7788, allocations: 8 kB / 1.209 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.555e-06/0.7789, allocations: 0 / 1.209 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.853e-05/0.7789, allocations: 11.94 kB / 1.209 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.523e-05/0.7789, allocations: 3.938 kB / 1.209 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.552e-05/0.779, allocations: 39.83 kB / 1.209 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.779, allocations: 0 / 1.209 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.913e-06/0.779, allocations: 0 / 1.209 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.779, allocations: 0 / 1.209 GB, free: 11.61 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003893/0.7794, allocations: 333.7 kB / 1.209 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.7795, allocations: 12.03 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.396e-05/0.7795, allocations: 30.75 kB / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.612e-05/0.7795, allocations: 4.938 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.7797, allocations: 168.2 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.7797, allocations: 384 / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.7797, allocations: 4.375 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.7798, allocations: 45.8 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.7798, allocations: 4 kB / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.7798, allocations: 0 / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.7799, allocations: 0 / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.604e-05/0.78, allocations: 31.91 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/0.7803, allocations: 244.9 kB / 1.21 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.987e-05/0.7804, allocations: 26.58 kB / 1.21 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.276e-05/0.7804, allocations: 20.91 kB / 1.21 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.7804, allocations: 4 kB / 1.21 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.7805, allocations: 30.56 kB / 1.21 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.7805, allocations: 7.875 kB / 1.21 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0002303/0.7807, allocations: 57.67 kB / 1.21 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.7808, allocations: 55.41 kB / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.308e-05/0.7809, allocations: 101.8 kB / 1.21 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.7809, allocations: 29.7 kB / 1.21 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.596e-05/0.7809, allocations: 92.17 kB / 1.21 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.7809, allocations: 0 / 1.21 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.781, allocations: 21.72 kB / 1.21 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.419e-05/0.7811, allocations: 318.8 kB / 1.211 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.168e-05/0.7811, allocations: 4 kB / 1.211 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.867e-05/0.7812, allocations: 15.98 kB / 1.211 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.776e-05/0.7813, allocations: 32.84 kB / 1.211 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.7813, allocations: 0 / 1.211 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001188/0.7814, allocations: 53.59 kB / 1.211 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.7814, allocations: 4 kB / 1.211 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.7814, allocations: 3.938 kB / 1.211 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.7814, allocations: 0 / 1.211 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.942e-05/0.7815, allocations: 4 kB / 1.211 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.7815, allocations: 3.984 kB / 1.211 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.355e-05/0.7816, allocations: 4.25 kB / 1.211 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.7816, allocations: 8.031 kB / 1.211 GB, free: 9.637 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 (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 6.838e-05/0.7817, allocations: 109.8 kB / 1.211 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.7817, allocations: 8 kB / 1.211 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.276e-05/0.7817, allocations: 3.531 kB / 1.211 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.7817, allocations: 0 / 1.211 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.7817, allocations: 0 / 1.211 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.7818, allocations: 0 / 1.211 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.7819, allocations: 169.5 kB / 1.211 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.7819, allocations: 0 / 1.211 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.377e-05/0.782, allocations: 8 kB / 1.211 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.782, allocations: 0 / 1.211 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.782, allocations: 0 / 1.211 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.782, allocations: 3.984 kB / 1.211 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.782, allocations: 0 / 1.211 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.7822, allocations: 151.4 kB / 1.211 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.473e-05/0.7822, allocations: 81.11 kB / 1.211 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.7822, allocations: 4.031 kB / 1.211 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.183e-05/0.7823, allocations: 3.984 kB / 1.211 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.527e-05/0.7823, allocations: 4 kB / 1.211 GB, free: 9 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.7823, allocations: 0 / 1.211 GB, free: 9 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.121e-05/0.7824, allocations: 83.28 kB / 1.211 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7824, allocations: 0 / 1.211 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000225/0.7826, allocations: 7.938 kB / 1.211 GB, free: 8.91 MB / 0.9356 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.0004111/0.783, allocations: 0.685 MB / 1.212 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001264/0.7832, allocations: 27.98 kB / 1.212 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.7832, allocations: 0 / 1.212 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.552e-05/0.7832, allocations: 15.92 kB / 1.212 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.7834, allocations: 4.094 kB / 1.212 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004112/0.7839, allocations: 156.2 kB / 1.212 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.7841, allocations: 0.6768 MB / 1.213 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.702e-05/0.7841, allocations: 0 / 1.213 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.606e-05/0.7842, allocations: 15.36 kB / 1.213 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of SimCode: time 2.81e-07/0.7842, allocations: 4 kB / 1.213 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01707/0.8013, allocations: 1.216 MB / 1.214 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.599/8.401, allocations: 7.438 kB / 1.214 GB, free: 6.156 MB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.fmu > 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