Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_11_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.001186/0.001186, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 191.7 kB / 16.53 MB, free: 6.391 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.312/1.312, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.521/2.521, allocations: 469.8 MB / 0.7424 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 75.28 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2331, allocations: 159.1 MB / 1.064 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002465/0.2356, allocations: 1.433 MB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005809/0.2362, allocations: 392.9 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.916e-05/0.2362, allocations: 0 / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.244e-05/0.2363, allocations: 0 / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.247e-05/0.2363, allocations: 11.92 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001132/0.2364, allocations: 11.98 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.376e-05/0.2365, allocations: 23.94 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.422e-05/0.2366, allocations: 3.984 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.061e-05/0.2367, allocations: 19.88 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.376e-05/0.2367, allocations: 11.92 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.2367, allocations: 0 / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.794e-06/0.2367, allocations: 0 / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.2368, allocations: 11.98 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.09e-05/0.2368, allocations: 3.938 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.523e-05/0.2369, allocations: 35.91 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.2369, allocations: 0 / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2369, allocations: 0 / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.2369, allocations: 0 / 1.066 GB, free: 12.19 MB / 0.8262 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.0003633/0.2372, allocations: 339.7 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.2373, allocations: 8.031 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.014e-05/0.2373, allocations: 30.75 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.084e-05/0.2373, allocations: 8.938 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.2375, allocations: 164.3 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.2375, allocations: 8.359 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.864e-06/0.2375, allocations: 4.375 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.2376, allocations: 45.75 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.2376, allocations: 4 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-06/0.2376, allocations: 0 / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-06/0.2376, allocations: 0 / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.577e-05/0.2377, allocations: 19.97 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002893/0.238, allocations: 252.9 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.547e-05/0.2381, allocations: 38.44 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.627e-05/0.2382, allocations: 16.92 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.2382, allocations: 0 / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.2382, allocations: 30.56 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.2382, allocations: 0 / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001975/0.2384, allocations: 61.67 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.2385, allocations: 55.41 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.412e-05/0.2385, allocations: 101.8 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.2386, allocations: 29.7 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.376e-05/0.2386, allocations: 84.14 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.2386, allocations: 7.844 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.2387, allocations: 25.59 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.2388, allocations: 322.9 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.595e-05/0.2388, allocations: 4 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.452e-05/0.2389, allocations: 15.98 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.937e-05/0.2389, allocations: 24.84 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.239, allocations: 0 / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001098/0.2391, allocations: 53.69 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.2391, allocations: 8 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.2391, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.2391, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.42e-05/0.2392, allocations: 7.984 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.2392, allocations: 3.938 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.063e-05/0.2392, allocations: 4 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.2392, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 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.693e-05/0.2393, allocations: 109.8 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.2393, allocations: 12 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.514e-05/0.2394, allocations: 3.531 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.2394, allocations: 0 / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.2394, allocations: 0 / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.2394, allocations: 0 / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.2395, allocations: 169.6 kB / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2395, allocations: 256 / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.14e-05/0.2396, allocations: 8 kB / 1.068 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.2396, allocations: 0 / 1.068 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.2396, allocations: 0 / 1.068 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2396, allocations: 3.984 kB / 1.068 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2396, allocations: 4 kB / 1.068 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.2398, allocations: 151.4 kB / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.02e-05/0.2398, allocations: 85.02 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.002e-05/0.2398, allocations: 0 / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.582e-05/0.2399, allocations: 3.984 kB / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.538e-05/0.2399, allocations: 7.938 kB / 1.068 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.2399, allocations: 4.031 kB / 1.068 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.355e-05/0.24, allocations: 83.28 kB / 1.068 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.24, allocations: 0 / 1.068 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001961/0.2402, allocations: 4 kB / 1.068 GB, free: 9.48 MB / 0.8262 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.0004109/0.2406, allocations: 0.689 MB / 1.069 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001177/0.2407, allocations: 23.92 kB / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.2407, allocations: 0 / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.961e-05/0.2408, allocations: 11.98 kB / 1.069 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.241, allocations: 1.719 kB / 1.069 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003503/0.2413, allocations: 140.5 kB / 1.069 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.2416, allocations: 0.6768 MB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.308e-05/0.2416, allocations: 7.891 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.2416, allocations: 15.42 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.2416, allocations: 0 / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6065/0.8482, allocations: 1.182 MB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.73, allocations: 18.61 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.fmu > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches