Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",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.007011/0.00701, allocations: 100.1 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.001712/0.001712, allocations: 196.1 kB / 16.68 MB, free: 5.93 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.483/1.483, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.509/2.509, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 63.89 kB / 1.054 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8062/0.8076, allocations: 157.4 MB / 1.207 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.009472/0.8171, allocations: 7.33 MB / 1.215 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008176/0.8254, allocations: 5.2 MB / 1.22 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001515/0.8269, allocations: 51.75 kB / 1.22 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004978/0.8319, allocations: 1.683 MB / 1.221 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002248/0.8342, allocations: 0.605 MB / 1.222 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.8354, allocations: 227.5 kB / 1.222 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002737/0.8382, allocations: 1.757 MB / 1.224 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008971/0.8391, allocations: 0.5813 MB / 1.224 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001172/0.8403, allocations: 0.7036 MB / 1.225 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001306/0.8416, allocations: 0.8084 MB / 1.226 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003294/0.8419, allocations: 80 kB / 1.226 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000719/0.8427, allocations: 195.8 kB / 1.226 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004409/0.8431, allocations: 338.5 kB / 1.226 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001119/0.8442, allocations: 0.7882 MB / 1.227 GB, free: 9.051 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002923/0.8472, allocations: 2.429 MB / 1.23 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.8472, allocations: 0 / 1.23 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.674e-06/0.8472, allocations: 0 / 1.23 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.186e-05/0.8473, allocations: 0 / 1.23 GB, free: 6.613 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.004031/0.8513, allocations: 2.261 MB / 1.232 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.8514, allocations: 8.031 kB / 1.232 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001136/0.8515, allocations: 74.72 kB / 1.232 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003595/0.8519, allocations: 202.4 kB / 1.232 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002969/0.8548, allocations: 1.673 MB / 1.234 GB, free: 2.254 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.8549, allocations: 25 kB / 1.234 GB, free: 2.23 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.858e-05/0.8549, allocations: 43.92 kB / 1.234 GB, free: 2.188 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006941/0.8556, allocations: 442.3 kB / 1.234 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.8557, allocations: 0 / 1.234 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.8557, allocations: 12 kB / 1.234 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.502e-05/0.8558, allocations: 28.98 kB / 1.234 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000635/0.8564, allocations: 427.6 kB / 1.235 GB, free: 1.293 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003517/0.8599, allocations: 2.307 MB / 1.237 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.8609, allocations: 0.5013 MB / 1.237 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003953/0.8614, allocations: 207.5 kB / 1.238 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.8614, allocations: 4.281 kB / 1.238 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.8614, allocations: 38.78 kB / 1.238 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=34): time 2.725e-06/0.8615, allocations: 0 / 1.238 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34): time 0.00113/0.8626, allocations: 0.6467 MB / 1.238 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.8626, allocations: 55.41 kB / 1.238 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003732/0.8664, allocations: 2.552 MB / 1.241 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.49e-05/0.8665, allocations: 33.7 kB / 1.241 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007599/0.8672, allocations: 0.7682 MB / 1.242 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.8673, allocations: 114.3 kB / 1.242 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.8675, allocations: 69.59 kB / 1.242 GB, free: 9.77 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.8676, allocations: 322.5 kB / 1.242 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.8678, allocations: 143.9 kB / 1.242 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.8681, allocations: 173.5 kB / 1.242 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004433/0.8685, allocations: 322.3 kB / 1.243 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.8686, allocations: 4 kB / 1.243 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008664/0.8694, allocations: 0.5223 MB / 1.243 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.8695, allocations: 4 kB / 1.243 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.8695, allocations: 0 / 1.243 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/0.8695, allocations: 7.984 kB / 1.243 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003365/0.8698, allocations: 83.94 kB / 1.243 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.8699, allocations: 0 / 1.243 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004566/0.8703, allocations: 35.61 kB / 1.243 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.8704, allocations: 12 kB / 1.243 GB, free: 8.141 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (36): * Single equations (assignments): 36 * 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.0008453/0.8712, allocations: 0.6847 MB / 1.244 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002642/0.8715, allocations: 185.6 kB / 1.244 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003303/0.8718, allocations: 219.2 kB / 1.244 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.8718, allocations: 4 kB / 1.244 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.8718, allocations: 4 kB / 1.244 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.8719, allocations: 7.922 kB / 1.244 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/0.874, allocations: 1.559 MB / 1.246 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.874, allocations: 0 / 1.246 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002942/0.8743, allocations: 79.89 kB / 1.246 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.8743, allocations: 0 / 1.246 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.8744, allocations: 8 kB / 1.246 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.8744, allocations: 8.094 kB / 1.246 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.8744, allocations: 3.938 kB / 1.246 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007089/0.8751, allocations: 0.635 MB / 1.247 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005184/0.8756, allocations: 374.4 kB / 1.247 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.8758, allocations: 8 kB / 1.247 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003453/0.8761, allocations: 12 kB / 1.247 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.8762, allocations: 23.91 kB / 1.247 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.8762, allocations: 12 kB / 1.247 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002293/0.8785, allocations: 1.831 MB / 1.249 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8785, allocations: 0 / 1.249 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006113/0.8791, allocations: 227.8 kB / 1.249 GB, free: 2.125 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (34): * Single equations (assignments): 34 * 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.001261/0.8804, allocations: 1.265 MB / 1.25 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005867/0.881, allocations: 328.5 kB / 1.251 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.881, allocations: 4 kB / 1.251 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.8812, allocations: 171.8 kB / 1.251 GB, free: 348 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002056/0.8833, allocations: 0.6231 MB / 1.251 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01862/0.9019, allocations: 14.81 MB / 1.266 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001251/0.9032, allocations: 1.754 MB / 1.268 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007969/0.904, allocations: 311.3 kB / 1.268 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006673/0.9047, allocations: 0.593 MB / 1.268 GB, free: 14 MB / 0.9981 GB Notification: Performance of SimCode: time 1.132e-06/0.9047, allocations: 0 / 1.268 GB, free: 14 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06705/0.9718, allocations: 39.79 MB / 1.307 GB, free: 6.758 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.72, allocations: 448 / 1.307 GB, free: 6.758 MB / 1.029 GB (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches