Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_9_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.005388/0.005388, allocations: 100.8 kB / 15.73 MB, free: 5.953 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.001242/0.001242, allocations: 187 kB / 16.67 MB, free: 5.883 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.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.119/2.119, allocations: 390.2 MB / 0.6648 GB, free: 148 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 73.33 kB / 0.9504 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2274, allocations: 140.4 MB / 1.088 GB, free: 1.938 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002447/0.2299, allocations: 1.599 MB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.2312, allocations: 0.906 MB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.124e-05/0.2313, allocations: 7.938 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.774e-05/0.2313, allocations: 3.938 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.2315, allocations: 19.8 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.2319, allocations: 150.6 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.232, allocations: 75.66 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.152e-05/0.2321, allocations: 15.97 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.324e-05/0.2322, allocations: 35.84 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.2323, allocations: 39.84 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.2323, allocations: 8 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003266/0.2326, allocations: 279.7 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.959e-05/0.2327, allocations: 15.92 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.594e-05/0.2327, allocations: 31.8 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.2329, allocations: 150.5 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2329, allocations: 0 / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2329, allocations: 0 / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.233, allocations: 0 / 1.091 GB, free: 14.6 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004943/0.2335, allocations: 412 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.2335, allocations: 12.03 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.096e-05/0.2335, allocations: 34.69 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.2336, allocations: 16.84 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.2338, allocations: 184.2 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.2339, allocations: 8.125 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.2339, allocations: 4 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.234, allocations: 61.66 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.2341, allocations: 7.938 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.2341, allocations: 0 / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.2341, allocations: 0 / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.2342, allocations: 43.91 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003864/0.2346, allocations: 300.7 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.2348, allocations: 54.55 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.328e-05/0.2348, allocations: 28.97 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.2349, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.2349, allocations: 34.56 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 8.12e-07/0.2349, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0003363/0.2352, allocations: 117.5 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.2353, allocations: 51.41 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.939e-05/0.2354, allocations: 131.5 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.2354, allocations: 29.7 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.2354, allocations: 92.14 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.2355, allocations: 15.73 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.2355, allocations: 21.72 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.951e-05/0.2356, allocations: 318.8 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.569e-05/0.2357, allocations: 23.98 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.523e-05/0.2357, allocations: 23.98 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.2359, allocations: 56.77 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2359, allocations: 3.938 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002018/0.2361, allocations: 90 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.2361, allocations: 8 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.2361, allocations: 4 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.2362, allocations: 0 / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.2363, allocations: 19.98 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.2363, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.153e-05/0.2363, allocations: 11.94 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.2364, allocations: 0 / 1.093 GB, free: 12.2 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 (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 6.491e-05/0.2364, allocations: 113.8 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.2365, allocations: 15.88 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/0.2367, allocations: 97.91 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2367, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2367, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2367, allocations: 7.938 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.2369, allocations: 185.6 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2369, allocations: 0 / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.095e-05/0.237, allocations: 15.98 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.237, allocations: 0 / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.237, allocations: 0 / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.237, allocations: 4 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.237, allocations: 3.984 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.2373, allocations: 195.3 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.369e-05/0.2373, allocations: 84.95 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.2373, allocations: 4 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.982e-05/0.2374, allocations: 4 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.2374, allocations: 15.92 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.2375, allocations: 0 / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.296e-05/0.2375, allocations: 101.3 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2375, allocations: 4 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002284/0.2377, allocations: 23.91 kB / 1.094 GB, free: 11.23 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 (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.0005085/0.2383, allocations: 0.74 MB / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001854/0.2385, allocations: 56.03 kB / 1.094 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2385, allocations: 4 kB / 1.094 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.144e-05/0.2386, allocations: 31.91 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.2388, allocations: 15.94 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.2401, allocations: 1.443 MB / 1.096 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.2403, allocations: 0.694 MB / 1.097 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.358e-05/0.2404, allocations: 15.73 kB / 1.097 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.498e-05/0.2404, allocations: 19.44 kB / 1.097 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of SimCode: time 3e-07/0.2405, allocations: 0 / 1.097 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.844/3.085, allocations: 2.32 MB / 1.099 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.989/13.07, allocations: 5.234 kB / 1.099 GB, free: 5.887 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches