Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_9_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_9_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.007065/0.007066, allocations: 103.3 kB / 15.73 MB, free: 6.039 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.001743/0.001743, allocations: 187.8 kB / 16.67 MB, free: 5.957 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.315/1.315, 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 9.1.3-maint.9.1.x/package.mo): time 2.158/2.158, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 59.91 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8401/0.8413, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002248/0.8436, allocations: 1.424 MB / 1.089 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005301/0.8441, allocations: 391.4 kB / 1.089 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.688e-05/0.8442, allocations: 1 kB / 1.089 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.431e-05/0.8442, allocations: 4.781 kB / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.116e-05/0.8443, allocations: 9.547 kB / 1.089 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000131/0.8444, allocations: 8.766 kB / 1.089 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.353e-05/0.8445, allocations: 28.31 kB / 1.089 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.508e-05/0.8445, allocations: 13.39 kB / 1.089 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.684e-05/0.8446, allocations: 10.36 kB / 1.089 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.975e-05/0.8447, allocations: 13.61 kB / 1.089 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.8447, allocations: 6.891 kB / 1.089 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.855e-06/0.8447, allocations: 1.281 kB / 1.089 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.8447, allocations: 1.969 kB / 1.089 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.318e-05/0.8448, allocations: 11.86 kB / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 7.001e-05/0.8448, allocations: 19.52 kB / 1.089 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.8448, allocations: 0 / 1.089 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.003e-06/0.8449, allocations: 5.312 kB / 1.089 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.8449, allocations: 3.938 kB / 1.089 GB, free: 3.945 MB / 0.8575 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.0003369/0.8452, allocations: 334.9 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.8453, allocations: 9.281 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.726e-05/0.8453, allocations: 32.58 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.198e-05/0.8453, allocations: 2 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.711e-05/0.8454, allocations: 176.6 kB / 1.09 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.8454, allocations: 384 / 1.09 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.8454, allocations: 1.656 kB / 1.09 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.8455, allocations: 50.67 kB / 1.09 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.8456, allocations: 3.938 kB / 1.09 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.8456, allocations: 0 / 1.09 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.8456, allocations: 1.656 kB / 1.09 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.754e-05/0.8457, allocations: 22.8 kB / 1.09 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000246/0.8459, allocations: 247.4 kB / 1.09 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.494e-05/0.846, allocations: 34 kB / 1.09 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.044e-05/0.8461, allocations: 15.11 kB / 1.09 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.8461, allocations: 1.031 kB / 1.09 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.8461, allocations: 36.3 kB / 1.09 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.8461, allocations: 0 / 1.09 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000216/0.8463, allocations: 59.98 kB / 1.09 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/0.8464, allocations: 56.66 kB / 1.09 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.611e-05/0.8464, allocations: 103.6 kB / 1.09 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.703e-06/0.8464, allocations: 26.8 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.779e-05/0.8465, allocations: 90.53 kB / 1.091 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.8465, allocations: 5.781 kB / 1.091 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.8465, allocations: 16.53 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.67e-05/0.8466, allocations: 321.4 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.254e-05/0.8466, allocations: 11.2 kB / 1.091 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.259e-05/0.8467, allocations: 7.406 kB / 1.091 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.489e-05/0.8468, allocations: 28.45 kB / 1.091 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.8468, allocations: 7.875 kB / 1.091 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001047/0.8469, allocations: 54.2 kB / 1.091 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.8469, allocations: 5.844 kB / 1.091 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.8469, allocations: 1 kB / 1.091 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.8469, allocations: 8.078 kB / 1.091 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.221e-05/0.847, allocations: 6.266 kB / 1.091 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.847, allocations: 1.25 kB / 1.091 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.105e-05/0.847, allocations: 5.844 kB / 1.091 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.847, allocations: 1 kB / 1.091 GB, free: 2.184 MB / 0.8575 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 4.687e-05/0.8471, allocations: 112.6 kB / 1.091 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.8471, allocations: 1.703 kB / 1.091 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.309e-05/0.8472, allocations: 9.078 kB / 1.091 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.8472, allocations: 5.609 kB / 1.091 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.8472, allocations: 0 / 1.091 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.8472, allocations: 1.859 kB / 1.091 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.8473, allocations: 162.9 kB / 1.091 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.8473, allocations: 1.031 kB / 1.091 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.212e-05/0.8473, allocations: 6.172 kB / 1.091 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.8474, allocations: 3.938 kB / 1.091 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.8474, allocations: 1.922 kB / 1.091 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.8474, allocations: 0 / 1.091 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.8474, allocations: 0 / 1.091 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.8475, allocations: 153.8 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.907e-05/0.8475, allocations: 83.31 kB / 1.092 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.8475, allocations: 1.25 kB / 1.092 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.805e-05/0.8476, allocations: 2.312 kB / 1.092 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.411e-05/0.8476, allocations: 2.391 kB / 1.092 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.8476, allocations: 2.172 kB / 1.092 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.296e-05/0.8477, allocations: 80.48 kB / 1.092 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8477, allocations: 4.75 kB / 1.092 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002081/0.8479, allocations: 7.125 kB / 1.092 GB, free: 1.523 MB / 0.8575 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.0003194/0.8482, allocations: 0.6801 MB / 1.092 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001237/0.8484, allocations: 26.08 kB / 1.092 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.8484, allocations: 0 / 1.092 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 4.253e-05/0.8484, allocations: 14.05 kB / 1.092 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.8486, allocations: 4.781 kB / 1.092 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003915/0.849, allocations: 148.2 kB / 1.093 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.8492, allocations: 0.6772 MB / 1.093 GB, free: 16 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.495e-05/0.8493, allocations: 5.766 kB / 1.093 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.8493, allocations: 13.11 kB / 1.093 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of SimCode: time 2.8e-07/0.8493, allocations: 0 / 1.093 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01604/0.8654, allocations: 1.205 MB / 1.094 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.024/7.889, allocations: 19.05 kB / 1.094 GB, free: 15.64 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.fmu > Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches