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.00632/0.00632, allocations: 101.2 kB / 15.73 MB, free: 6.062 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.001721/0.001721, allocations: 194.3 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.387/1.387, 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.371/2.371, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 63.91 kB / 1.065 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6282/0.6298, allocations: 159.1 MB / 1.22 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.003315/0.6332, allocations: 1.53 MB / 1.222 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001281/0.6333, allocations: 31.86 kB / 1.222 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.875e-05/0.6334, allocations: 4 kB / 1.222 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.6335, allocations: 11.92 kB / 1.222 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.757e-05/0.6336, allocations: 7.922 kB / 1.222 GB, free: 496 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001043/0.6337, allocations: 15.98 kB / 1.222 GB, free: 480 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.6338, allocations: 55.78 kB / 1.222 GB, free: 424 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.634, allocations: 39.97 kB / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.653e-05/0.634, allocations: 15.94 kB / 1.222 GB, free: 368 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.238e-05/0.6341, allocations: 35.78 kB / 1.222 GB, free: 332 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.6341, allocations: 4 kB / 1.222 GB, free: 328 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.693e-05/0.6342, allocations: 4 kB / 1.222 GB, free: 324 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.068e-05/0.6342, allocations: 15.98 kB / 1.222 GB, free: 308 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.965e-05/0.6343, allocations: 35.8 kB / 1.222 GB, free: 272 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.6344, allocations: 55.47 kB / 1.222 GB, free: 220 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6344, allocations: 0 / 1.222 GB, free: 220 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.293e-06/0.6344, allocations: 0 / 1.222 GB, free: 220 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.6345, allocations: 0 / 1.222 GB, free: 220 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.0004783/0.6349, allocations: 371.1 kB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.635, allocations: 8.031 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.03e-05/0.635, allocations: 42.73 kB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.6351, allocations: 8.891 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.6353, allocations: 180.3 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.6353, allocations: 8.375 kB / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.6353, allocations: 8.375 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.6356, allocations: 96.73 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.6356, allocations: 3.938 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.6356, allocations: 8 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.108e-06/0.6356, allocations: 0 / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.6357, allocations: 35.98 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007323/0.6365, allocations: 0.6518 MB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.6366, allocations: 165.1 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.801e-05/0.6367, allocations: 84.14 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.6367, allocations: 75.28 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.807e-05/0.6368, allocations: 109.8 kB / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.6368, allocations: 0 / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 6.956e-05/0.6368, allocations: 45.52 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.6369, allocations: 130.7 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.6371, allocations: 169.3 kB / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.6371, allocations: 29.7 kB / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.33e-05/0.6372, allocations: 100.1 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.878e-06/0.6372, allocations: 4 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.6372, allocations: 13.72 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.6373, allocations: 322.8 kB / 1.225 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.068e-05/0.6373, allocations: 3.938 kB / 1.225 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.466e-05/0.6374, allocations: 22.58 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.255e-05/0.6374, allocations: 38.5 kB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.6374, allocations: 0 / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001019/0.6375, allocations: 53.59 kB / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.6375, allocations: 4 kB / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.6376, allocations: 3.938 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.6376, allocations: 12.03 kB / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.633e-05/0.6376, allocations: 7.984 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.6376, allocations: 0 / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.26e-05/0.6377, allocations: 11.89 kB / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-06/0.6377, allocations: 0 / 1.225 GB, free: 13.15 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.0001008/0.6378, allocations: 196.1 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.116e-05/0.6378, allocations: 108.9 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.684e-05/0.6379, allocations: 120.8 kB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.109e-05/0.638, allocations: 184.2 kB / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.551e-05/0.6381, allocations: 180.3 kB / 1.225 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.551e-05/0.6381, allocations: 180.2 kB / 1.226 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.6384, allocations: 421.2 kB / 1.226 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-05/0.6384, allocations: 105.9 kB / 1.226 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.53e-05/0.6385, allocations: 113 kB / 1.226 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.148e-05/0.6385, allocations: 188.2 kB / 1.226 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.638e-05/0.6386, allocations: 184.1 kB / 1.227 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-05/0.6387, allocations: 184.2 kB / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.4e-05/0.6387, allocations: 176.3 kB / 1.227 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.6389, allocations: 316 kB / 1.227 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.297e-05/0.639, allocations: 190 kB / 1.227 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.291e-05/0.6391, allocations: 184.2 kB / 1.228 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.089e-05/0.6392, allocations: 109 kB / 1.228 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.269e-05/0.6392, allocations: 184.2 kB / 1.228 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.91e-05/0.6393, allocations: 105 kB / 1.228 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.084e-05/0.6394, allocations: 127.2 kB / 1.228 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6394, allocations: 0 / 1.228 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001945/0.6396, allocations: 4 kB / 1.228 GB, free: 9.445 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.0004047/0.64, allocations: 0.8208 MB / 1.229 GB, free: 8.598 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 5.318e-05/0.64, allocations: 8 kB / 1.229 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.6401, allocations: 3.938 kB / 1.229 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.675e-06/0.6401, allocations: 3.938 kB / 1.229 GB, free: 8.582 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.6404, allocations: 459.7 kB / 1.229 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.6417, allocations: 1.646 MB / 1.231 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.642, allocations: 0.6914 MB / 1.232 GB, free: 5.68 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.806e-05/0.642, allocations: 7.984 kB / 1.232 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.771e-05/0.642, allocations: 23.44 kB / 1.232 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.642, allocations: 0 / 1.232 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.456/2.098, allocations: 1.692 MB / 1.233 GB, free: 4.062 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.13/16.22, allocations: 16.34 kB / 1.233 GB, free: 4.051 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 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.mat","/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