Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.HADryCoil,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_11_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.00191/0.00191, allocations: 108 kB / 15.61 MB, free: 152 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.002193/0.002193, allocations: 197.5 kB / 16.53 MB, free: 6.664 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.267/1.267, 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.481/2.481, allocations: 469.8 MB / 0.7424 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 66.91 kB / 0.9087 GB, free: 34.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2367, allocations: 159.2 MB / 1.064 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003027/0.2398, allocations: 2.165 MB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00139/0.2412, allocations: 1.036 MB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.937e-05/0.2413, allocations: 7.938 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.813e-05/0.2413, allocations: 19.73 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.2416, allocations: 91.2 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000354/0.2419, allocations: 196.9 kB / 1.068 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002703/0.2422, allocations: 286.8 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.2424, allocations: 60.98 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.2425, allocations: 107.6 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.2427, allocations: 139.4 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.52e-05/0.2427, allocations: 16 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003851/0.2431, allocations: 303.6 kB / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.894e-05/0.2432, allocations: 51.72 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.2433, allocations: 119.3 kB / 1.069 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003392/0.2436, allocations: 326.9 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2436, allocations: 3.984 kB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2436, allocations: 0 / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.2437, allocations: 0 / 1.069 GB, free: 9.316 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009688/0.2446, allocations: 0.6232 MB / 1.069 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.2447, allocations: 16.03 kB / 1.069 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.728e-05/0.2447, allocations: 46.73 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/0.2449, allocations: 40.56 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.2452, allocations: 275.5 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.2452, allocations: 12.66 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.2453, allocations: 20.31 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004758/0.2457, allocations: 232.7 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.2458, allocations: 3.984 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.2458, allocations: 8 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.2458, allocations: 7.984 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006103/0.2464, allocations: 191.8 kB / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.2475, allocations: 0.9422 MB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007048/0.2482, allocations: 241.2 kB / 1.071 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000309/0.2485, allocations: 109.6 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.2485, allocations: 4 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.2486, allocations: 34.56 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.223e-06/0.2486, allocations: 0 / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.001054/0.2496, allocations: 333.4 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.2497, allocations: 81.11 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.2499, allocations: 271 kB / 1.072 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.2499, allocations: 29.64 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.96e-05/0.2501, allocations: 160.1 kB / 1.072 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.2501, allocations: 55.2 kB / 1.072 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.571e-05/0.2502, allocations: 41.7 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.2503, allocations: 342.8 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/0.2506, allocations: 87.86 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000329/0.251, allocations: 145.9 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006296/0.2516, allocations: 241.7 kB / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2516, allocations: 0 / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007701/0.2524, allocations: 289 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.2524, allocations: 4 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.2524, allocations: 4.25 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.2524, allocations: 15.88 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.2527, allocations: 51.95 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2527, allocations: 4 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.2529, allocations: 43.7 kB / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.2529, allocations: 12 kB / 1.074 GB, free: 4.039 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 0.0001094/0.2531, allocations: 133.8 kB / 1.074 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.2532, allocations: 27.66 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007504/0.2539, allocations: 291.8 kB / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.2539, allocations: 4 kB / 1.074 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2539, allocations: 0 / 1.074 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2539, allocations: 0 / 1.074 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003511/0.2543, allocations: 305.3 kB / 1.074 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2543, allocations: 0 / 1.074 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.2545, allocations: 51.89 kB / 1.074 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.2546, allocations: 8 kB / 1.074 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.2546, allocations: 8 kB / 1.074 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2546, allocations: 0 / 1.074 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2546, allocations: 4 kB / 1.074 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000802/0.2554, allocations: 442.2 kB / 1.075 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-05/0.2555, allocations: 108.7 kB / 1.075 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.2555, allocations: 0 / 1.075 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.2558, allocations: 27.97 kB / 1.075 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.2558, allocations: 19.97 kB / 1.075 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.2558, allocations: 4 kB / 1.075 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001613/0.256, allocations: 194 kB / 1.075 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.256, allocations: 0 / 1.075 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003079/0.2563, allocations: 60.44 kB / 1.075 GB, free: 2.289 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.001133/0.2575, allocations: 0.9943 MB / 1.076 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007014/0.2582, allocations: 243.6 kB / 1.077 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2582, allocations: 0 / 1.077 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000337/0.2585, allocations: 116.2 kB / 1.077 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/0.259, allocations: 73.33 kB / 1.077 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003694/0.2627, allocations: 2.712 MB / 1.079 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.2631, allocations: 0.748 MB / 1.08 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001298/0.2632, allocations: 34.42 kB / 1.08 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.2633, allocations: 87.41 kB / 1.08 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.2633, allocations: 0 / 1.08 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.106/3.37, allocations: 6.473 MB / 1.087 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.84/13.21, allocations: 7.016 kB / 1.087 GB, free: 6.801 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches