Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",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.007498/0.007498, allocations: 95.8 kB / 15.73 MB, free: 6.008 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.002162/0.002162, allocations: 196.4 kB / 16.67 MB, free: 5.941 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.913/2.913, allocations: 482.4 MB / 0.7548 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 63.89 kB / 1.083 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.278, allocations: 162.2 MB / 1.241 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002767/0.2808, allocations: 1.544 MB / 1.243 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001128/0.281, allocations: 31.86 kB / 1.243 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.771e-05/0.281, allocations: 0 / 1.243 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.2811, allocations: 11.86 kB / 1.243 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.167e-05/0.2812, allocations: 3.938 kB / 1.243 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 9.311e-05/0.2813, allocations: 23.97 kB / 1.243 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.949e-05/0.2814, allocations: 43.84 kB / 1.243 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.2815, allocations: 39.92 kB / 1.243 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.37e-05/0.2815, allocations: 19.92 kB / 1.243 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.875e-05/0.2816, allocations: 27.86 kB / 1.243 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.2816, allocations: 4 kB / 1.243 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.1e-05/0.2817, allocations: 8 kB / 1.243 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.829e-05/0.2817, allocations: 11.98 kB / 1.243 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.261e-05/0.2818, allocations: 35.8 kB / 1.243 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.2819, allocations: 63.67 kB / 1.243 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2819, allocations: 0 / 1.243 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2819, allocations: 0 / 1.243 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.2819, allocations: 0 / 1.243 GB, free: 8.391 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004116/0.2823, allocations: 367.2 kB / 1.244 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.2823, allocations: 8.031 kB / 1.244 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.663e-05/0.2824, allocations: 38.75 kB / 1.244 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.346e-05/0.2824, allocations: 8.891 kB / 1.244 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.2826, allocations: 188.2 kB / 1.244 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.2826, allocations: 8.375 kB / 1.244 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.2827, allocations: 4.375 kB / 1.244 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.2828, allocations: 96.8 kB / 1.244 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.2828, allocations: 3.938 kB / 1.244 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.2829, allocations: 4 kB / 1.244 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.2829, allocations: 0 / 1.244 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.249e-05/0.283, allocations: 47.91 kB / 1.244 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006002/0.2836, allocations: 0.6402 MB / 1.245 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.851e-05/0.2837, allocations: 169.1 kB / 1.245 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.649e-05/0.2837, allocations: 92.08 kB / 1.245 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.62e-05/0.2838, allocations: 79.28 kB / 1.245 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.786e-05/0.2838, allocations: 105.8 kB / 1.245 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.2838, allocations: 0 / 1.245 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.886e-05/0.2839, allocations: 45.52 kB / 1.245 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.284, allocations: 126.7 kB / 1.245 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.2842, allocations: 168.9 kB / 1.245 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.2842, allocations: 25.7 kB / 1.245 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.637e-05/0.2843, allocations: 108 kB / 1.246 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.969e-06/0.2843, allocations: 0 / 1.246 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.2843, allocations: 17.66 kB / 1.246 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.2845, allocations: 318.8 kB / 1.246 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.059e-05/0.2845, allocations: 11.92 kB / 1.246 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.5e-05/0.2845, allocations: 22.58 kB / 1.246 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.482e-05/0.2846, allocations: 30.61 kB / 1.246 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2846, allocations: 0 / 1.246 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001212/0.2847, allocations: 57.58 kB / 1.246 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.2847, allocations: 4 kB / 1.246 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.2847, allocations: 4.031 kB / 1.246 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.2848, allocations: 8 kB / 1.246 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.994e-05/0.2848, allocations: 7.938 kB / 1.246 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.2848, allocations: 0 / 1.246 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.029e-05/0.2849, allocations: 11.89 kB / 1.246 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-06/0.2849, allocations: 0 / 1.246 GB, free: 5.332 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.0001162/0.285, allocations: 193.6 kB / 1.246 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.847e-05/0.2851, allocations: 108.9 kB / 1.246 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.13e-05/0.2851, allocations: 124.7 kB / 1.246 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.667e-05/0.2852, allocations: 184.2 kB / 1.247 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.926e-05/0.2853, allocations: 180.2 kB / 1.247 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.749e-05/0.2854, allocations: 176.3 kB / 1.247 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.2857, allocations: 429.2 kB / 1.247 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.661e-05/0.2857, allocations: 109.1 kB / 1.247 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.917e-05/0.2858, allocations: 109 kB / 1.248 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-05/0.2859, allocations: 180.2 kB / 1.248 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.638e-05/0.286, allocations: 184.2 kB / 1.248 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.637e-05/0.286, allocations: 176.3 kB / 1.248 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.26e-05/0.2861, allocations: 184.2 kB / 1.248 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.2863, allocations: 315.7 kB / 1.249 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.2864, allocations: 190 kB / 1.249 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.347e-05/0.2865, allocations: 188.2 kB / 1.249 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.368e-05/0.2866, allocations: 104.9 kB / 1.249 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.972e-05/0.2867, allocations: 180.3 kB / 1.249 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.955e-05/0.2867, allocations: 104.9 kB / 1.249 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001103/0.2869, allocations: 133.9 kB / 1.249 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2869, allocations: 0 / 1.249 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002419/0.2871, allocations: 8 kB / 1.249 GB, free: 1.621 MB / 0.9981 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 (0): * Single equations (assignments): 0 * 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.0004606/0.2876, allocations: 0.823 MB / 1.25 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 6.618e-05/0.2877, allocations: 11.92 kB / 1.25 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2877, allocations: 0 / 1.25 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.2877, allocations: 0 / 1.25 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.2881, allocations: 459.7 kB / 1.251 GB, free: 316 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4556/0.7437, allocations: 1.621 MB / 1.252 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.7438, allocations: 0.693 MB / 1.253 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.448e-05/0.7438, allocations: 10.42 kB / 1.253 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.7439, allocations: 21.94 kB / 1.253 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/0.7439, allocations: 1.156 kB / 1.253 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0217/0.7656, allocations: 1.703 MB / 1.255 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.503/8.269, allocations: 8.281 kB / 1.255 GB, free: 13.56 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches