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.006986/0.006986, allocations: 97.67 kB / 15.73 MB, free: 5.988 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.001586/0.001586, allocations: 191.8 kB / 16.67 MB, free: 5.918 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.429/2.429, allocations: 437.1 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 59.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2715, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.00324/0.2748, allocations: 2.151 MB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001581/0.2764, allocations: 1.045 MB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.2766, allocations: 0 / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 7.249e-05/0.2767, allocations: 27.66 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003289/0.277, allocations: 87.23 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004564/0.2775, allocations: 191.6 kB / 1.17 GB, free: 3.766 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003642/0.2778, allocations: 298.7 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.278, allocations: 61 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.2782, allocations: 115.5 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002306/0.2784, allocations: 143.4 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.847e-05/0.2785, allocations: 16 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004062/0.2789, allocations: 303.6 kB / 1.171 GB, free: 2.844 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.602e-05/0.2789, allocations: 39.84 kB / 1.171 GB, free: 2.805 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.279, allocations: 123.3 kB / 1.171 GB, free: 2.684 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004085/0.2794, allocations: 342.4 kB / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2795, allocations: 0 / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2795, allocations: 0 / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.444e-05/0.2795, allocations: 4 kB / 1.171 GB, free: 2.344 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.00104/0.2805, allocations: 0.6229 MB / 1.172 GB, free: 1.672 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.2806, allocations: 8.031 kB / 1.172 GB, free: 1.664 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.355e-05/0.2806, allocations: 50.73 kB / 1.172 GB, free: 1.605 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000213/0.2808, allocations: 36.75 kB / 1.172 GB, free: 1.57 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003991/0.2813, allocations: 295.7 kB / 1.172 GB, free: 1.246 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.2813, allocations: 8.656 kB / 1.172 GB, free: 1.238 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.2813, allocations: 20.38 kB / 1.172 GB, free: 1.219 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005098/0.2818, allocations: 232.7 kB / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.2818, allocations: 0 / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.2819, allocations: 4 kB / 1.172 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.2819, allocations: 4 kB / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006412/0.2825, allocations: 199.8 kB / 1.172 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.2836, allocations: 0.9423 MB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007423/0.2844, allocations: 237.2 kB / 1.174 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000322/0.2847, allocations: 109.6 kB / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.2848, allocations: 12.23 kB / 1.174 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.2848, allocations: 30.56 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.2848, allocations: 7.938 kB / 1.174 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.001147/0.2859, allocations: 333.3 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.286, allocations: 81.05 kB / 1.174 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.2863, allocations: 267 kB / 1.174 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.2863, allocations: 25.7 kB / 1.174 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.526e-05/0.2864, allocations: 168.3 kB / 1.175 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.2864, allocations: 55.48 kB / 1.175 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.85e-05/0.2865, allocations: 45.56 kB / 1.175 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.2866, allocations: 346.7 kB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003188/0.2869, allocations: 87.92 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003292/0.2873, allocations: 144.1 kB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006353/0.2879, allocations: 237.7 kB / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.2879, allocations: 4 kB / 1.175 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000801/0.2887, allocations: 293.7 kB / 1.176 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.2888, allocations: 8 kB / 1.176 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2888, allocations: 0 / 1.176 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.2888, allocations: 4 kB / 1.176 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.2891, allocations: 60.11 kB / 1.176 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.2891, allocations: 8 kB / 1.176 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/0.2893, allocations: 47.8 kB / 1.176 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.2894, allocations: 8 kB / 1.176 GB, free: 13.05 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.0001158/0.2895, allocations: 125.8 kB / 1.176 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.2896, allocations: 39.78 kB / 1.176 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007874/0.2904, allocations: 291.1 kB / 1.176 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.2904, allocations: 4 kB / 1.176 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2904, allocations: 0 / 1.176 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.2904, allocations: 4 kB / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/0.2908, allocations: 301.4 kB / 1.177 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2908, allocations: 0 / 1.177 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.2911, allocations: 55.89 kB / 1.177 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.2911, allocations: 0 / 1.177 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.2911, allocations: 4 kB / 1.177 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.2911, allocations: 4 kB / 1.177 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2911, allocations: 4 kB / 1.177 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008062/0.2919, allocations: 446.3 kB / 1.177 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.215e-05/0.292, allocations: 108.9 kB / 1.177 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/0.292, allocations: 4 kB / 1.177 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.2923, allocations: 23.97 kB / 1.177 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.035e-05/0.2924, allocations: 19.97 kB / 1.177 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.2924, allocations: 4 kB / 1.177 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001581/0.2925, allocations: 190 kB / 1.177 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2926, allocations: 4 kB / 1.177 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003421/0.2929, allocations: 59.94 kB / 1.177 GB, free: 11.29 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.001153/0.2941, allocations: 0.9911 MB / 1.178 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007121/0.2948, allocations: 232.1 kB / 1.179 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2948, allocations: 0 / 1.179 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003396/0.2951, allocations: 119.8 kB / 1.179 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005228/0.2957, allocations: 73.56 kB / 1.179 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003869/0.2996, 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.000273/0.2998, allocations: 0.7519 MB / 1.182 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001394/0.3, allocations: 30.28 kB / 1.182 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.3001, allocations: 87.41 kB / 1.182 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.3001, allocations: 0 / 1.182 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.3243, allocations: 6.559 MB / 1.189 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.527/7.852, allocations: 10.92 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.csv --start-time 0 --stop-time 80 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.032 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.csv","/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