Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.HADryCoil,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_10_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.001241/0.001241, allocations: 108.6 kB / 15.73 MB, free: 76 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.0019/0.0019, allocations: 187.4 kB / 16.66 MB, free: 6.59 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.371/2.371, allocations: 437.1 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 64.12 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2404, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002829/0.2433, allocations: 2.152 MB / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.2447, allocations: 1.037 MB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.462e-05/0.2448, allocations: 7.938 kB / 1.169 GB, free: 4.062 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.127e-05/0.2448, allocations: 19.73 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002448/0.2451, allocations: 95.2 kB / 1.169 GB, free: 3.949 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.2455, allocations: 191.5 kB / 1.17 GB, free: 3.762 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002882/0.2458, allocations: 290.8 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.2459, allocations: 64.97 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.246, allocations: 115.5 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.2462, allocations: 143.4 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.293e-05/0.2463, allocations: 16 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003981/0.2467, allocations: 295.7 kB / 1.171 GB, free: 2.852 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.621e-05/0.2467, allocations: 51.77 kB / 1.171 GB, free: 2.801 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.2468, allocations: 123.2 kB / 1.171 GB, free: 2.68 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003628/0.2472, allocations: 334.5 kB / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.654e-06/0.2472, allocations: 0 / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2472, allocations: 0 / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.2472, allocations: 0 / 1.171 GB, free: 2.352 MB / 0.92 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.0009569/0.2482, allocations: 0.6307 MB / 1.172 GB, free: 1.672 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.863e-05/0.2482, allocations: 12.03 kB / 1.172 GB, free: 1.66 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.87e-05/0.2483, allocations: 54.67 kB / 1.172 GB, free: 1.598 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/0.2485, allocations: 36.75 kB / 1.172 GB, free: 1.562 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/0.2488, allocations: 283.8 kB / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.2488, allocations: 8.656 kB / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.2489, allocations: 20.31 kB / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004852/0.2493, allocations: 232.7 kB / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.2494, allocations: 0 / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.2494, allocations: 8 kB / 1.172 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2494, allocations: 4 kB / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006275/0.25, allocations: 199.7 kB / 1.172 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.2511, allocations: 0.9385 MB / 1.173 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007091/0.2518, allocations: 245.2 kB / 1.174 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003194/0.2521, allocations: 109.5 kB / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.2521, allocations: 0 / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.2522, allocations: 38.56 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 9.72e-07/0.2522, allocations: 4 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.001095/0.2533, allocations: 345.5 kB / 1.174 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.2533, allocations: 77.11 kB / 1.174 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.2536, allocations: 267 kB / 1.174 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.2536, allocations: 33.7 kB / 1.174 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.2537, allocations: 160.3 kB / 1.175 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.24e-05/0.2538, allocations: 55.47 kB / 1.175 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.2539, allocations: 57.5 kB / 1.175 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.254, allocations: 330.8 kB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003201/0.2543, allocations: 95.91 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003383/0.2547, allocations: 137.9 kB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006414/0.2553, allocations: 237.7 kB / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2553, allocations: 0 / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007846/0.2561, allocations: 293.1 kB / 1.176 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.2561, allocations: 4 kB / 1.176 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.2561, allocations: 160 / 1.176 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2562, allocations: 8 kB / 1.176 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/0.2564, allocations: 67.88 kB / 1.176 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.2564, allocations: 4 kB / 1.176 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.2566, allocations: 39.81 kB / 1.176 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.2567, allocations: 4 kB / 1.176 GB, free: 13.06 MB / 0.9356 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 0.0001112/0.2568, allocations: 141.8 kB / 1.176 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.2569, allocations: 27.8 kB / 1.176 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007877/0.2577, allocations: 299.8 kB / 1.176 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.2577, allocations: 7.984 kB / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2577, allocations: 4 kB / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.2577, allocations: 0 / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003396/0.2581, allocations: 293.4 kB / 1.177 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2581, allocations: 0 / 1.177 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.2583, allocations: 51.95 kB / 1.177 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2583, allocations: 0 / 1.177 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.2583, allocations: 11.98 kB / 1.177 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.2584, allocations: 4 kB / 1.177 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.2584, allocations: 3.938 kB / 1.177 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008121/0.2592, allocations: 445.1 kB / 1.177 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.051e-05/0.2593, allocations: 104.8 kB / 1.177 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.2593, allocations: 8 kB / 1.177 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.2595, allocations: 23.97 kB / 1.177 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.2596, allocations: 19.97 kB / 1.177 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.2596, allocations: 4 kB / 1.177 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001677/0.2598, allocations: 194 kB / 1.177 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2598, allocations: 0 / 1.177 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003085/0.2601, allocations: 55.94 kB / 1.177 GB, free: 11.3 MB / 0.9356 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.001189/0.2613, allocations: 0.9963 MB / 1.178 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006978/0.262, allocations: 227.7 kB / 1.179 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.262, allocations: 4.375 kB / 1.179 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003479/0.2624, allocations: 120.1 kB / 1.179 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.2629, allocations: 73.3 kB / 1.179 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003721/0.2666, allocations: 2.708 MB / 1.181 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.2669, allocations: 0.748 MB / 1.182 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000115/0.267, allocations: 34.28 kB / 1.182 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.2672, allocations: 83.41 kB / 1.182 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/0.2672, allocations: 0 / 1.182 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.881/3.148, allocations: 6.563 MB / 1.189 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/16.05, allocations: 8 kB / 1.189 GB, free: 15.75 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches