Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_11_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.004698/0.004698, allocations: 98.77 kB / 15.73 MB, free: 6.066 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.001217/0.001217, allocations: 196.1 kB / 16.68 MB, free: 5.973 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.528/2.528, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 71.88 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7581/0.7599, allocations: 159.1 MB / 1.22 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002694/0.7626, allocations: 1.544 MB / 1.222 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001132/0.7628, allocations: 35.84 kB / 1.222 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.471e-05/0.7628, allocations: 0 / 1.222 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.7629, allocations: 19.86 kB / 1.222 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.085e-05/0.763, allocations: 3.938 kB / 1.222 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001034/0.7631, allocations: 15.98 kB / 1.222 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.7632, allocations: 47.84 kB / 1.222 GB, free: 456 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.7633, allocations: 31.98 kB / 1.222 GB, free: 424 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.668e-05/0.7634, allocations: 23.92 kB / 1.222 GB, free: 400 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.604e-05/0.7635, allocations: 27.89 kB / 1.222 GB, free: 372 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.7635, allocations: 7.938 kB / 1.222 GB, free: 364 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.088e-05/0.7635, allocations: 4 kB / 1.222 GB, free: 360 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.632e-05/0.7636, allocations: 23.98 kB / 1.222 GB, free: 336 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.079e-05/0.7636, allocations: 23.81 kB / 1.222 GB, free: 312 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.7637, allocations: 58.41 kB / 1.222 GB, free: 256 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.7637, allocations: 4 kB / 1.222 GB, free: 252 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.452e-06/0.7637, allocations: 0 / 1.222 GB, free: 252 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.7637, allocations: 0 / 1.222 GB, free: 252 kB / 0.9356 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.0004514/0.7642, allocations: 372.1 kB / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.7642, allocations: 8.031 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.268e-05/0.7643, allocations: 38.73 kB / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.473e-05/0.7643, allocations: 8.891 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.7645, allocations: 192.3 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.7645, allocations: 4.312 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.7645, allocations: 12.36 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.7647, allocations: 96.8 kB / 1.223 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.7647, allocations: 3.938 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.7647, allocations: 4 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-06/0.7648, allocations: 4 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.079e-05/0.7648, allocations: 39.92 kB / 1.223 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006165/0.7655, allocations: 0.6441 MB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.687e-05/0.7656, allocations: 169.1 kB / 1.224 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.976e-05/0.7656, allocations: 84.14 kB / 1.224 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.7657, allocations: 79.22 kB / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.864e-05/0.7657, allocations: 105.8 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.7657, allocations: 0 / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 7.219e-05/0.7658, allocations: 37.59 kB / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.917e-05/0.7659, allocations: 130.7 kB / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.7661, allocations: 173.3 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.7661, allocations: 29.7 kB / 1.224 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.915e-05/0.7662, allocations: 100.1 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/0.7662, allocations: 0 / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.47e-05/0.7662, allocations: 17.72 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.7664, allocations: 318.8 kB / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.512e-05/0.7664, allocations: 4 kB / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.804e-05/0.7664, allocations: 30.52 kB / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.164e-05/0.7665, allocations: 22.58 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.7665, allocations: 3.984 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000114/0.7666, allocations: 57.53 kB / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.7666, allocations: 8 kB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.7666, allocations: 8.031 kB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.7667, allocations: 0 / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.895e-05/0.7667, allocations: 7.938 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.7667, allocations: 7.984 kB / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.257e-05/0.7668, allocations: 7.891 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.7668, allocations: 4 kB / 1.225 GB, free: 13.18 MB / 0.9512 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.0001173/0.7669, allocations: 189.1 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.231e-05/0.767, allocations: 108.9 kB / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.53e-05/0.7671, allocations: 128.7 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.53e-05/0.7671, allocations: 176.3 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.5e-05/0.7672, allocations: 180.3 kB / 1.225 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.972e-05/0.7673, allocations: 184.2 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002809/0.7676, allocations: 421.2 kB / 1.226 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-05/0.7677, allocations: 109.9 kB / 1.226 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.497e-05/0.7677, allocations: 105 kB / 1.226 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.403e-05/0.7678, allocations: 188.2 kB / 1.226 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.119e-05/0.7679, allocations: 184.1 kB / 1.227 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.89e-05/0.768, allocations: 176.3 kB / 1.227 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.084e-05/0.768, allocations: 180.2 kB / 1.227 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.7682, allocations: 320 kB / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.045e-05/0.7683, allocations: 186 kB / 1.227 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.185e-05/0.7684, allocations: 184.2 kB / 1.228 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.668e-05/0.7685, allocations: 108.9 kB / 1.228 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.917e-05/0.7686, allocations: 188.2 kB / 1.228 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.462e-05/0.7687, allocations: 108.9 kB / 1.228 GB, free: 9.602 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001003/0.7688, allocations: 121.7 kB / 1.228 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7688, allocations: 4 kB / 1.228 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002182/0.769, allocations: 8 kB / 1.228 GB, free: 9.473 MB / 0.9512 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.0005264/0.7696, allocations: 0.8131 MB / 1.229 GB, free: 8.633 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.228e-05/0.7696, allocations: 15.94 kB / 1.229 GB, free: 8.617 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.7696, allocations: 0 / 1.229 GB, free: 8.617 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.7696, allocations: 0 / 1.229 GB, free: 8.617 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.77, allocations: 459.9 kB / 1.229 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.7716, allocations: 1.645 MB / 1.231 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.7719, allocations: 0.6954 MB / 1.232 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.918e-05/0.772, allocations: 8 kB / 1.232 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.1e-05/0.772, allocations: 19.42 kB / 1.232 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of SimCode: time 2.51e-07/0.772, allocations: 0 / 1.232 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.7933, allocations: 1.707 MB / 1.233 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.64/8.434, allocations: 12.22 kB / 1.233 GB, free: 4.074 MB / 0.9512 GB (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches