Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.HACoilInside,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_10_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.007118/0.007119, allocations: 99.72 kB / 15.73 MB, free: 6.484 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.001632/0.001632, allocations: 189 kB / 16.68 MB, free: 6.367 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.562/2.562, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.89 kB / 1.018 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3035, allocations: 151.6 MB / 1.166 GB, free: 7.398 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002612/0.3062, allocations: 1.61 MB / 1.168 GB, free: 5.773 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.3075, allocations: 0.9161 MB / 1.169 GB, free: 4.848 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.189e-05/0.3076, allocations: 0 / 1.169 GB, free: 4.848 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.549e-05/0.3076, allocations: 7.922 kB / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.3079, allocations: 19.8 kB / 1.169 GB, free: 4.82 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003193/0.3082, allocations: 135.6 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.3083, allocations: 79.7 kB / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.542e-05/0.3084, allocations: 15.84 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.875e-05/0.3085, allocations: 35.86 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.3087, allocations: 31.84 kB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.3087, allocations: 4 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003605/0.309, allocations: 291.6 kB / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.021e-05/0.3091, allocations: 15.91 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.736e-05/0.3091, allocations: 23.88 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.3094, allocations: 163.7 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.3094, allocations: 3.938 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3094, allocations: 0 / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.3094, allocations: 0 / 1.169 GB, free: 4.035 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005375/0.31, allocations: 406.8 kB / 1.17 GB, free: 3.59 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.31, allocations: 8.031 kB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.749e-05/0.31, allocations: 38.73 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.3102, allocations: 12.89 kB / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.3104, allocations: 186.6 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.3104, allocations: 8.359 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.3104, allocations: 8.312 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.3106, allocations: 69.78 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.3106, allocations: 0 / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.3106, allocations: 4 kB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3106, allocations: 0 / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.3108, allocations: 51.89 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.3112, allocations: 296.8 kB / 1.171 GB, free: 2.82 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.3113, allocations: 54.55 kB / 1.171 GB, free: 2.758 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.734e-05/0.3114, allocations: 32.97 kB / 1.171 GB, free: 2.723 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.3114, allocations: 0 / 1.171 GB, free: 2.723 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.3115, allocations: 38.5 kB / 1.171 GB, free: 2.676 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.3115, allocations: 0 / 1.171 GB, free: 2.676 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0003399/0.3118, allocations: 101.6 kB / 1.171 GB, free: 2.57 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.3119, allocations: 51.41 kB / 1.171 GB, free: 2.508 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.292e-05/0.312, allocations: 129.8 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.312, allocations: 33.7 kB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.989e-05/0.312, allocations: 96.12 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.3121, allocations: 11.84 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.3121, allocations: 21.7 kB / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.713e-05/0.3122, allocations: 322.8 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.421e-05/0.3123, allocations: 23.92 kB / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.534e-05/0.3124, allocations: 27.97 kB / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.3125, allocations: 60.77 kB / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3125, allocations: 0 / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001949/0.3127, allocations: 85.62 kB / 1.172 GB, free: 1.668 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3127, allocations: 4 kB / 1.172 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.3128, allocations: 0 / 1.172 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3128, allocations: 4 kB / 1.172 GB, free: 1.66 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.3129, allocations: 11.98 kB / 1.172 GB, free: 1.648 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.3129, allocations: 4 kB / 1.172 GB, free: 1.645 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.036e-05/0.313, allocations: 11.94 kB / 1.172 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.313, allocations: 8.438 kB / 1.172 GB, free: 1.625 MB / 0.92 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 7.132e-05/0.3131, allocations: 113.7 kB / 1.172 GB, free: 1.504 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.053e-05/0.3131, allocations: 11.95 kB / 1.172 GB, free: 1.492 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002476/0.3134, allocations: 102 kB / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3134, allocations: 4 kB / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3134, allocations: 0 / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3134, allocations: 0 / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.3136, allocations: 189.6 kB / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3136, allocations: 0 / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.943e-05/0.3136, allocations: 11.98 kB / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.3137, allocations: 4 kB / 1.172 GB, free: 1.129 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.3137, allocations: 3.938 kB / 1.172 GB, free: 1.125 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3137, allocations: 3.938 kB / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3137, allocations: 0 / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.3139, allocations: 191.4 kB / 1.172 GB, free: 0.918 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.857e-05/0.314, allocations: 85.06 kB / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.314, allocations: 0 / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.305e-05/0.3141, allocations: 11.98 kB / 1.172 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.3141, allocations: 0 / 1.172 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.729e-06/0.3141, allocations: 7.984 kB / 1.172 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.409e-05/0.3142, allocations: 101.5 kB / 1.172 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3142, allocations: 4 kB / 1.172 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002326/0.3144, allocations: 23.94 kB / 1.172 GB, free: 0.6719 MB / 0.92 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.0005542/0.315, allocations: 0.7318 MB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002023/0.3152, allocations: 67.89 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3152, allocations: 0 / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.942e-05/0.3153, allocations: 31.92 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.3156, allocations: 16.41 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.317, allocations: 1.461 MB / 1.175 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.3173, allocations: 0.7 MB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.809e-05/0.3173, allocations: 4 kB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.646e-05/0.3174, allocations: 23.42 kB / 1.175 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of SimCode: time 2.81e-07/0.3174, allocations: 0 / 1.175 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01771/0.3351, allocations: 2.317 MB / 1.178 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.173/7.508, allocations: 6.703 kB / 1.178 GB, free: 11.31 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches