Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.001748/0.001748, 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.001966/0.001966, allocations: 191.4 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.538/2.538, allocations: 469.8 MB / 0.7424 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 65.7 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2444, allocations: 159.2 MB / 1.064 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002659/0.2471, allocations: 1.609 MB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.2484, allocations: 0.9054 MB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.413e-05/0.2484, allocations: 0 / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.123e-05/0.2485, allocations: 11.86 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.2487, allocations: 23.78 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.249, allocations: 152.6 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.2491, allocations: 75.72 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.518e-05/0.2492, allocations: 8 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.049e-05/0.2493, allocations: 39.84 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.2494, allocations: 35.84 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.2495, allocations: 4 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003816/0.2498, allocations: 279.6 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.2499, allocations: 11.94 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.115e-05/0.2499, allocations: 35.8 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.2501, allocations: 151.9 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2502, allocations: 3.938 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2502, allocations: 0 / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.2502, allocations: 4 kB / 1.067 GB, free: 10.88 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000528/0.2507, allocations: 403.1 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.2507, allocations: 12.03 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.231e-05/0.2508, allocations: 30.75 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.803e-05/0.2509, allocations: 20.83 kB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.2511, allocations: 190.2 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.833e-06/0.2511, allocations: 4.375 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.2511, allocations: 4.375 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.2513, allocations: 65.78 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.2513, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.2513, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.2513, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.2514, allocations: 43.97 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004253/0.2519, allocations: 304.7 kB / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.252, allocations: 50.5 kB / 1.068 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.971e-05/0.2521, allocations: 32.97 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.2521, allocations: 0 / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.2522, allocations: 38.5 kB / 1.068 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.2522, allocations: 0 / 1.068 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0003362/0.2525, allocations: 113.5 kB / 1.069 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.2525, allocations: 51.41 kB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.2527, allocations: 129.8 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.2527, allocations: 29.7 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.2527, allocations: 92.14 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.2528, allocations: 15.73 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.979e-05/0.2528, allocations: 21.72 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.2529, allocations: 322.8 kB / 1.069 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.377e-05/0.253, allocations: 19.98 kB / 1.069 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.799e-05/0.2531, allocations: 27.98 kB / 1.069 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.2533, allocations: 57.2 kB / 1.069 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2533, allocations: 0 / 1.069 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002112/0.2535, allocations: 93.5 kB / 1.069 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.2535, allocations: 9.562 kB / 1.069 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.2535, allocations: 0 / 1.069 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.2535, allocations: 0 / 1.069 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.2536, allocations: 15.98 kB / 1.069 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2536, allocations: 7.984 kB / 1.069 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.748e-05/0.2537, allocations: 8 kB / 1.069 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.2537, allocations: 0 / 1.069 GB, free: 8.48 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 (6): * Single equations (assignments): 6 * 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.409e-05/0.2538, allocations: 121.8 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/0.2539, allocations: 11.84 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.2541, allocations: 93.91 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.2541, allocations: 4 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.2541, allocations: 0 / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.2541, allocations: 7.984 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.2543, allocations: 185.5 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2543, allocations: 0 / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.165e-05/0.2544, allocations: 15.98 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2544, allocations: 0 / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.2544, allocations: 0 / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2544, allocations: 0 / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2544, allocations: 0 / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.2547, allocations: 199.4 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-05/0.2547, allocations: 84.95 kB / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.2548, allocations: 4.188 kB / 1.07 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.33e-05/0.2548, allocations: 8 kB / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.2549, allocations: 7.984 kB / 1.07 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.2549, allocations: 0 / 1.07 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.268e-05/0.255, allocations: 104.5 kB / 1.07 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.255, allocations: 0 / 1.07 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002285/0.2552, allocations: 35.83 kB / 1.07 GB, free: 7.516 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 (6): * Single equations (assignments): 6 * 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.0005813/0.2558, allocations: 0.729 MB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000199/0.256, allocations: 59.91 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.256, allocations: 0 / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.267e-05/0.2561, allocations: 31.97 kB / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.2564, allocations: 11.91 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.2579, allocations: 1.444 MB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.2582, allocations: 0.6885 MB / 1.073 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.293e-05/0.2582, allocations: 8 kB / 1.073 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.874e-05/0.2583, allocations: 27.42 kB / 1.073 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of SimCode: time 1.9e-07/0.2583, allocations: 0 / 1.073 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.171/1.43, allocations: 2.27 MB / 1.075 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.395/10.82, allocations: 5.812 kB / 1.075 GB, free: 2.219 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches