Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_9_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.00509/0.00509, allocations: 98.34 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.001244/0.001244, allocations: 195.1 kB / 16.68 MB, free: 5.934 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.25/1.25, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.179/2.179, allocations: 390.3 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 66.33 kB / 0.9504 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2379, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002691/0.2407, allocations: 1.533 MB / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001275/0.2408, allocations: 31.84 kB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.603e-05/0.2409, allocations: 4 kB / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.241, allocations: 11.88 kB / 1.089 GB, free: 412 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.867e-05/0.2411, allocations: 3.938 kB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001102/0.2412, allocations: 23.97 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.2413, allocations: 47.84 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.2414, allocations: 27.98 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.818e-05/0.2415, allocations: 23.91 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.558e-05/0.2416, allocations: 31.84 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.2416, allocations: 4 kB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.628e-06/0.2416, allocations: 4 kB / 1.089 GB, free: 244 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.311e-05/0.2417, allocations: 19.98 kB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.111e-05/0.2417, allocations: 31.75 kB / 1.089 GB, free: 192 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.2418, allocations: 59.95 kB / 1.089 GB, free: 132 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2418, allocations: 7.938 kB / 1.089 GB, free: 124 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.724e-06/0.2418, allocations: 0 / 1.089 GB, free: 124 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.2418, allocations: 0 / 1.089 GB, free: 124 kB / 0.8419 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.0003925/0.2422, allocations: 363.2 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.2423, allocations: 12.03 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.815e-05/0.2423, allocations: 38.75 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.2424, allocations: 8.891 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.2425, allocations: 184.3 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.2426, allocations: 4.375 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.2426, allocations: 12.31 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.2427, allocations: 96.17 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.2428, allocations: 7.938 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.2428, allocations: 11.98 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.2428, allocations: 0 / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.945e-05/0.2429, allocations: 43.91 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005393/0.2434, allocations: 0.6363 MB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.045e-05/0.2435, allocations: 169.1 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.899e-05/0.2435, allocations: 80.14 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.2436, allocations: 83.22 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.2436, allocations: 105.8 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.2436, allocations: 0 / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.897e-05/0.2437, allocations: 47 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.2438, allocations: 130.7 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.2439, allocations: 165.5 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.2439, allocations: 29.64 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.299e-05/0.244, allocations: 104 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.244, allocations: 0 / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.2441, allocations: 17.72 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.436e-05/0.2442, allocations: 322.8 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.332e-05/0.2442, allocations: 4 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.328e-05/0.2442, allocations: 26.52 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.311e-05/0.2443, allocations: 26.58 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2443, allocations: 0 / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001194/0.2444, allocations: 65.58 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.2444, allocations: 4 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2444, allocations: 3.938 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.2444, allocations: 4 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.709e-05/0.2445, allocations: 7.938 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.2445, allocations: 3.984 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.478e-05/0.2445, allocations: 7.953 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.2446, allocations: 3.938 kB / 1.092 GB, free: 13.07 MB / 0.8575 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 9.216e-05/0.2446, allocations: 197.2 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.746e-05/0.2447, allocations: 108.9 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.337e-05/0.2448, allocations: 120.7 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.297e-05/0.2448, allocations: 180.2 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.833e-05/0.2449, allocations: 180.3 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.662e-05/0.2449, allocations: 184.2 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.2452, allocations: 425.2 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.484e-05/0.2452, allocations: 108.9 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.846e-05/0.2452, allocations: 101 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.775e-05/0.2453, allocations: 180.3 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.624e-05/0.2454, allocations: 184.1 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.301e-05/0.2454, allocations: 188.5 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.367e-05/0.2455, allocations: 180.2 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.2456, allocations: 315.8 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.95e-05/0.2457, allocations: 186 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.518e-05/0.2457, allocations: 180.2 kB / 1.095 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.056e-05/0.2458, allocations: 112.9 kB / 1.095 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.435e-05/0.2459, allocations: 180.3 kB / 1.095 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.743e-05/0.2459, allocations: 108.9 kB / 1.095 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.824e-05/0.246, allocations: 129 kB / 1.095 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.246, allocations: 0 / 1.095 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002181/0.2463, allocations: 12 kB / 1.095 GB, free: 9.355 MB / 0.8575 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.0003723/0.2466, allocations: 0.8165 MB / 1.096 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.949e-05/0.2467, allocations: 11.94 kB / 1.096 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2467, allocations: 0 / 1.096 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.2467, allocations: 0 / 1.096 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.2471, allocations: 465.6 kB / 1.097 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.2484, allocations: 1.632 MB / 1.098 GB, free: 6.32 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.2486, allocations: 0.6963 MB / 1.099 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.912e-05/0.2486, allocations: 4 kB / 1.099 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.23e-05/0.2487, allocations: 23.42 kB / 1.099 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of SimCode: time 1.8e-07/0.2487, allocations: 0 / 1.099 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01742/0.2661, allocations: 1.707 MB / 1.101 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.013/7.279, allocations: 5.625 kB / 1.101 GB, free: 3.965 MB / 0.8575 GB (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches