Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.001184/0.001184, 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.001933/0.001933, allocations: 195.5 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.228/1.228, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.417/2.417, allocations: 461.9 MB / 0.7346 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 60.36 kB / 0.8992 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2425, allocations: 157.4 MB / 1.053 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002885/0.2454, allocations: 2.171 MB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.2468, allocations: 1.048 MB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.878e-05/0.2469, allocations: 4 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.959e-05/0.2469, allocations: 27.66 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.2472, allocations: 79.23 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.2475, allocations: 194.4 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.2478, allocations: 302.7 kB / 1.057 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.2479, allocations: 49.02 kB / 1.057 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.248, allocations: 107.6 kB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.2482, allocations: 139.4 kB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.271e-05/0.2482, allocations: 20 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000355/0.2486, allocations: 303.6 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.307e-05/0.2486, allocations: 51.75 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.745e-05/0.2487, allocations: 115.3 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003083/0.2491, allocations: 330.8 kB / 1.058 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2491, allocations: 3.938 kB / 1.058 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2491, allocations: 0 / 1.058 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.2491, allocations: 0 / 1.058 GB, free: 3.289 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009162/0.25, allocations: 0.6247 MB / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.25, allocations: 11.97 kB / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.222e-05/0.2501, allocations: 46.73 kB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.2503, allocations: 40.64 kB / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.2506, allocations: 283.4 kB / 1.059 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.2506, allocations: 8.656 kB / 1.059 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.2506, allocations: 20.38 kB / 1.059 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004599/0.2511, allocations: 228.8 kB / 1.059 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.2511, allocations: 7.922 kB / 1.059 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.2511, allocations: 4 kB / 1.059 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.2511, allocations: 4 kB / 1.059 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006138/0.2517, allocations: 199.8 kB / 1.059 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009371/0.2527, allocations: 0.9345 MB / 1.06 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006871/0.2534, allocations: 249.2 kB / 1.06 GB, free: 456 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003044/0.2537, allocations: 105.6 kB / 1.06 GB, free: 344 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.2537, allocations: 0 / 1.06 GB, free: 344 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.2537, allocations: 34.56 kB / 1.06 GB, free: 300 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 9.82e-07/0.2538, allocations: 0 / 1.06 GB, free: 300 kB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.001084/0.2548, allocations: 341.5 kB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.2549, allocations: 77.11 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.2551, allocations: 267 kB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.2551, allocations: 29.7 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.918e-05/0.2552, allocations: 164.1 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.2553, allocations: 55.11 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-05/0.2553, allocations: 41.7 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.495e-05/0.2554, allocations: 334.8 kB / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000305/0.2558, allocations: 95.91 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/0.2561, allocations: 143.9 kB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006092/0.2567, allocations: 237.8 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2567, allocations: 3.938 kB / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007563/0.2575, allocations: 297.5 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.2575, allocations: 4 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.2575, allocations: 0 / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.2575, allocations: 4 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.2578, allocations: 68.03 kB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.2578, allocations: 8.062 kB / 1.062 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.258, allocations: 35.81 kB / 1.063 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.258, allocations: 8 kB / 1.063 GB, free: 14.02 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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 9.608e-05/0.2581, allocations: 133.8 kB / 1.063 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.2582, allocations: 35.55 kB / 1.063 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007563/0.259, allocations: 283.2 kB / 1.063 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.259, allocations: 8 kB / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.259, allocations: 3.984 kB / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.259, allocations: 0 / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003105/0.2594, allocations: 301.3 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2594, allocations: 0 / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002397/0.2596, allocations: 51.95 kB / 1.063 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.2596, allocations: 0 / 1.063 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.2596, allocations: 11.94 kB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2596, allocations: 0 / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2596, allocations: 4 kB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007551/0.2604, allocations: 442.3 kB / 1.064 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.553e-05/0.2605, allocations: 104.7 kB / 1.064 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/0.2605, allocations: 8.266 kB / 1.064 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.2608, allocations: 23.97 kB / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.644e-05/0.2608, allocations: 15.98 kB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.2608, allocations: 19.86 kB / 1.064 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001455/0.261, allocations: 186 kB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.261, allocations: 0 / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003099/0.2613, allocations: 64.23 kB / 1.064 GB, free: 12.26 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.00104/0.2624, allocations: 0.9901 MB / 1.065 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006883/0.2631, allocations: 235.9 kB / 1.065 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2631, allocations: 0 / 1.065 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003345/0.2634, allocations: 119.8 kB / 1.065 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005144/0.2639, allocations: 77.48 kB / 1.066 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003441/0.2674, allocations: 2.7 MB / 1.068 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.2676, allocations: 0.7558 MB / 1.069 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001235/0.2678, allocations: 22.3 kB / 1.069 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.2679, allocations: 87.41 kB / 1.069 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2679, allocations: 0 / 1.069 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.548/1.816, allocations: 6.481 MB / 1.075 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.475/10.29, allocations: 4.062 kB / 1.075 GB, free: 0.7891 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches