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.008118/0.008124, allocations: 99.44 kB / 15.73 MB, free: 6.039 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.002028/0.002028, allocations: 193.6 kB / 16.67 MB, free: 5.965 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.549/2.549, allocations: 472.7 MB / 0.7453 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 64.09 kB / 1.069 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2635, allocations: 159.9 MB / 1.225 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.00235/0.2659, allocations: 1.554 MB / 1.227 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 9.933e-05/0.2661, allocations: 27.86 kB / 1.227 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.507e-05/0.2661, allocations: 4 kB / 1.227 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.2662, allocations: 7.922 kB / 1.227 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.532e-05/0.2663, allocations: 11.86 kB / 1.227 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 9.482e-05/0.2664, allocations: 15.98 kB / 1.227 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.473e-05/0.2665, allocations: 47.84 kB / 1.227 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.2666, allocations: 35.97 kB / 1.227 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.224e-05/0.2666, allocations: 19.92 kB / 1.227 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.679e-05/0.2667, allocations: 31.84 kB / 1.227 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.2667, allocations: 4 kB / 1.227 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.918e-06/0.2667, allocations: 4 kB / 1.227 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.079e-05/0.2668, allocations: 15.98 kB / 1.227 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.59e-05/0.2668, allocations: 31.8 kB / 1.227 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.2669, allocations: 67.62 kB / 1.227 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2669, allocations: 0 / 1.227 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2669, allocations: 0 / 1.227 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.267, allocations: 0 / 1.227 GB, free: 7.75 MB / 0.9825 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.0003452/0.2673, allocations: 363.2 kB / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.2673, allocations: 8.031 kB / 1.227 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.455e-05/0.2674, allocations: 42.73 kB / 1.227 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.312e-05/0.2674, allocations: 8.891 kB / 1.227 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.2676, allocations: 180.3 kB / 1.228 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.2676, allocations: 12.38 kB / 1.228 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.2676, allocations: 4.375 kB / 1.228 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.2677, allocations: 96.73 kB / 1.228 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.2678, allocations: 7.938 kB / 1.228 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.2678, allocations: 4 kB / 1.228 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2678, allocations: 0 / 1.228 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.384e-05/0.2679, allocations: 43.92 kB / 1.228 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004914/0.2684, allocations: 0.6402 MB / 1.228 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.288e-05/0.2684, allocations: 169.1 kB / 1.229 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.717e-05/0.2685, allocations: 80.14 kB / 1.229 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.2685, allocations: 83.28 kB / 1.229 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.2685, allocations: 109.8 kB / 1.229 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 2.054e-06/0.2685, allocations: 0 / 1.229 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 6.656e-05/0.2686, allocations: 41.53 kB / 1.229 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.2687, allocations: 130.6 kB / 1.229 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.2688, allocations: 172.4 kB / 1.229 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.2689, allocations: 29.7 kB / 1.229 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.2689, allocations: 104.1 kB / 1.229 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-06/0.2689, allocations: 0 / 1.229 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.269, allocations: 13.72 kB / 1.229 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.211e-05/0.2691, allocations: 322.8 kB / 1.23 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.231e-05/0.2691, allocations: 0 / 1.23 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.156e-05/0.2691, allocations: 22.58 kB / 1.23 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.018e-05/0.2691, allocations: 38.55 kB / 1.23 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2691, allocations: 0 / 1.23 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001041/0.2693, allocations: 57.58 kB / 1.23 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.2693, allocations: 4 kB / 1.23 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2693, allocations: 3.938 kB / 1.23 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.2693, allocations: 4.094 kB / 1.23 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.372e-05/0.2694, allocations: 8 kB / 1.23 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2694, allocations: 3.984 kB / 1.23 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.397e-05/0.2694, allocations: 11.89 kB / 1.23 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-06/0.2694, allocations: 0 / 1.23 GB, free: 4.699 MB / 0.9825 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 8.563e-05/0.2695, allocations: 194.2 kB / 1.23 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.439e-05/0.2696, allocations: 108.9 kB / 1.23 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.369e-05/0.2696, allocations: 124.8 kB / 1.23 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.895e-05/0.2697, allocations: 188.2 kB / 1.23 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.763e-05/0.2697, allocations: 176.4 kB / 1.23 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.788e-05/0.2698, allocations: 184.2 kB / 1.231 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.27, allocations: 421.2 kB / 1.231 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.93e-05/0.27, allocations: 109.1 kB / 1.231 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.997e-05/0.2701, allocations: 112.9 kB / 1.231 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.855e-05/0.2701, allocations: 180.2 kB / 1.231 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-05/0.2702, allocations: 184.1 kB / 1.232 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.471e-05/0.2702, allocations: 180.3 kB / 1.232 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.477e-05/0.2703, allocations: 180.2 kB / 1.232 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.2704, allocations: 315.8 kB / 1.232 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.447e-05/0.2704, allocations: 186 kB / 1.232 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.109e-05/0.2705, allocations: 192.2 kB / 1.233 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.432e-05/0.2706, allocations: 105 kB / 1.233 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/0.2706, allocations: 180.2 kB / 1.233 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.2707, allocations: 108.9 kB / 1.233 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.796e-05/0.2708, allocations: 129.7 kB / 1.233 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2708, allocations: 0 / 1.233 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002088/0.271, allocations: 8 kB / 1.233 GB, free: 0.9844 MB / 0.9825 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.0003488/0.2713, allocations: 0.8203 MB / 1.234 GB, free: 140 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.01e-05/0.2714, allocations: 11.94 kB / 1.234 GB, free: 128 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2714, allocations: 0 / 1.234 GB, free: 128 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.402e-06/0.2714, allocations: 0 / 1.234 GB, free: 128 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.2718, allocations: 461.2 kB / 1.234 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.273, allocations: 1.639 MB / 1.236 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.2732, allocations: 0.6914 MB / 1.237 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.838e-05/0.2732, allocations: 4 kB / 1.237 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.75e-05/0.2733, allocations: 23.42 kB / 1.237 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/0.2733, allocations: 4 kB / 1.237 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01669/0.29, allocations: 1.696 MB / 1.238 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.018/7.308, allocations: 11.33 kB / 1.238 GB, free: 11.61 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 50 --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