Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_10_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.0008518/0.0008518, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.005025/0.005025, allocations: 171.8 kB / 16.26 MB, free: 6.613 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.205/1.205, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.299/2.299, allocations: 437.8 MB / 0.7121 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003235, allocations: 12 kB / 0.873 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.551/0.5514, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001565/0.553, allocations: 1.258 MB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001021/0.5531, allocations: 31.84 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.412e-05/0.5532, allocations: 4 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001/0.5533, allocations: 7.922 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.7e-05/0.5533, allocations: 0 / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 9.83e-05/0.5534, allocations: 19.98 kB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.366e-05/0.5535, allocations: 47.78 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.5536, allocations: 27.98 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.949e-05/0.5536, allocations: 15.92 kB / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.748e-05/0.5537, allocations: 23.86 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.5537, allocations: 0 / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.427e-06/0.5537, allocations: 4 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.201e-05/0.5538, allocations: 15.97 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.376e-05/0.5539, allocations: 45.52 kB / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.609e-05/0.5539, allocations: 50.06 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.554, allocations: 4 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.026e-06/0.554, allocations: 3.984 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.554, allocations: 0 / 1.025 GB, free: 14.25 MB / 0.7794 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.0003442/0.5543, allocations: 347.4 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.5544, allocations: 8.031 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.39e-05/0.5544, allocations: 46.72 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.603e-05/0.5545, allocations: 8.844 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.5546, allocations: 192.1 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.5546, allocations: 12.38 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.5547, allocations: 4.375 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.5548, allocations: 92.8 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.5548, allocations: 7.938 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.5548, allocations: 4 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.5549, allocations: 0 / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.749e-05/0.5549, allocations: 47.91 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005393/0.5555, allocations: 0.6362 MB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.271e-05/0.5556, allocations: 173.1 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.209e-05/0.5556, allocations: 84.14 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.5556, allocations: 79.31 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.238e-05/0.5557, allocations: 109.8 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.5557, allocations: 0 / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.161e-05/0.5558, allocations: 37.55 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.5558, allocations: 130.6 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.556, allocations: 171.2 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.556, allocations: 29.64 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.5561, allocations: 111.9 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.5561, allocations: 0 / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/0.5561, allocations: 13.72 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.68e-05/0.5562, allocations: 318.8 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.266e-05/0.5562, allocations: 4 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.098e-05/0.5562, allocations: 22.58 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.914e-05/0.5563, allocations: 34.5 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5563, allocations: 0 / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001057/0.5564, allocations: 53.55 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.5564, allocations: 8 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5564, allocations: 3.938 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.5564, allocations: 4.094 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.329e-05/0.5565, allocations: 7.984 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.5565, allocations: 4 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.878e-05/0.5565, allocations: 0 / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.5566, allocations: 4 kB / 1.027 GB, free: 11.21 MB / 0.7794 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.666e-05/0.5566, allocations: 189.7 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.98e-05/0.5567, allocations: 112.8 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.78e-05/0.5568, allocations: 128.7 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.675e-05/0.5568, allocations: 176.3 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.546e-05/0.5569, allocations: 180.2 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.778e-05/0.5569, allocations: 180.3 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.5572, allocations: 425.1 kB / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.013e-05/0.5572, allocations: 101 kB / 1.029 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.5572, allocations: 109 kB / 1.029 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.214e-05/0.5573, allocations: 188.2 kB / 1.029 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.305e-05/0.5574, allocations: 180.2 kB / 1.029 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.987e-05/0.5574, allocations: 180.4 kB / 1.029 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.85e-05/0.5575, allocations: 184.3 kB / 1.03 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.5576, allocations: 323.7 kB / 1.03 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-05/0.5577, allocations: 186 kB / 1.03 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.562e-05/0.5578, allocations: 184.1 kB / 1.03 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.326e-05/0.5578, allocations: 105.1 kB / 1.03 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.557e-05/0.5579, allocations: 192.2 kB / 1.031 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/0.5579, allocations: 105 kB / 1.031 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.853e-05/0.558, allocations: 125.3 kB / 1.031 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.558, allocations: 0 / 1.031 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002025/0.5582, allocations: 8 kB / 1.031 GB, free: 7.5 MB / 0.7794 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.0003436/0.5586, allocations: 0.8202 MB / 1.032 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.416e-05/0.5587, allocations: 15.94 kB / 1.032 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.5587, allocations: 0 / 1.032 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.5587, allocations: 0 / 1.032 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.559, allocations: 0.5224 MB / 1.032 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.5602, allocations: 1.653 MB / 1.034 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.5604, allocations: 0.6887 MB / 1.034 GB, free: 3.652 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.733e-05/0.5605, allocations: 4 kB / 1.034 GB, free: 3.648 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.484e-05/0.5605, allocations: 23.42 kB / 1.034 GB, free: 3.625 MB / 0.7794 GB Notification: Performance of SimCode: time 3.4e-07/0.5605, allocations: 0 / 1.034 GB, free: 3.625 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.825/1.386, allocations: 1.476 MB / 1.036 GB, free: 2.293 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003297/1.386, allocations: 227.6 kB / 1.036 GB, free: 2.027 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.93/3.316, allocations: 0 / 1.036 GB, free: 2.027 MB / 0.7794 GB (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches