Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_10_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.0009348/0.0009349, allocations: 91.53 kB / 15.36 MB, free: 0.7344 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.007565/0.007565, allocations: 170.8 kB / 16.26 MB, free: 6.676 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.291/1.291, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.436/2.436, allocations: 437.8 MB / 0.7121 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000315/0.000315, allocations: 12.23 kB / 0.873 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5175/0.5178, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.006518/0.5244, allocations: 6.863 MB / 1.03 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006204/0.5306, allocations: 5.061 MB / 1.035 GB, free: 3.875 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009556/0.5316, allocations: 35.75 kB / 1.035 GB, free: 3.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003777/0.5354, allocations: 1.579 MB / 1.036 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.5367, allocations: 0.5278 MB / 1.037 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006367/0.5374, allocations: 197.8 kB / 1.037 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002009/0.5394, allocations: 1.968 MB / 1.039 GB, free: 15.56 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005912/0.54, allocations: 0.5531 MB / 1.04 GB, free: 14.98 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006638/0.5407, allocations: 0.6215 MB / 1.04 GB, free: 14.36 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00075/0.5414, allocations: 0.785 MB / 1.041 GB, free: 13.57 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.5416, allocations: 64 kB / 1.041 GB, free: 13.51 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003631/0.5419, allocations: 179.8 kB / 1.041 GB, free: 13.33 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002492/0.5422, allocations: 306.6 kB / 1.041 GB, free: 13.03 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0005687/0.5428, allocations: 0.7821 MB / 1.042 GB, free: 12.24 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.5442, allocations: 2.016 MB / 1.044 GB, free: 10.21 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.5442, allocations: 3.938 kB / 1.044 GB, free: 10.21 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5442, allocations: 4 kB / 1.044 GB, free: 10.21 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.5443, allocations: 0 / 1.044 GB, free: 10.21 MB / 0.795 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.002159/0.5464, allocations: 1.869 MB / 1.046 GB, free: 8.27 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.5465, allocations: 8.031 kB / 1.046 GB, free: 8.262 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.261e-05/0.5465, allocations: 82.64 kB / 1.046 GB, free: 8.172 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001978/0.5467, allocations: 198.4 kB / 1.046 GB, free: 7.977 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001891/0.5486, allocations: 1.567 MB / 1.048 GB, free: 6.34 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.5487, allocations: 29 kB / 1.048 GB, free: 6.312 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.148e-05/0.5487, allocations: 32 kB / 1.048 GB, free: 6.281 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006235/0.5494, allocations: 454.3 kB / 1.048 GB, free: 5.832 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.5494, allocations: 0 / 1.048 GB, free: 5.832 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.449e-05/0.5494, allocations: 16 kB / 1.048 GB, free: 5.816 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.939e-05/0.5495, allocations: 20.98 kB / 1.048 GB, free: 5.797 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005851/0.5501, allocations: 427.6 kB / 1.049 GB, free: 5.375 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002564/0.5526, allocations: 2.338 MB / 1.051 GB, free: 2.887 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000976/0.5536, allocations: 0.4922 MB / 1.051 GB, free: 2.383 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/0.5539, allocations: 203.2 kB / 1.052 GB, free: 2.184 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.5539, allocations: 8.219 kB / 1.052 GB, free: 2.176 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.554, allocations: 30.84 kB / 1.052 GB, free: 2.137 MB / 0.795 GB Notification: Performance of pre-optimization done (n=34): time 1.422e-06/0.554, allocations: 4 kB / 1.052 GB, free: 2.133 MB / 0.795 GB Notification: Performance of matching and sorting (n=34): time 0.0008428/0.5548, allocations: 0.6492 MB / 1.052 GB, free: 1.477 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.5548, allocations: 51.41 kB / 1.052 GB, free: 1.414 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002966/0.5578, allocations: 2.583 MB / 1.055 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.5579, allocations: 29.7 kB / 1.055 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006977/0.5586, allocations: 0.7605 MB / 1.056 GB, free: 14 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.909e-05/0.5586, allocations: 122.2 kB / 1.056 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/0.5587, allocations: 29.7 kB / 1.056 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.5588, allocations: 326.4 kB / 1.056 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.559, allocations: 143.9 kB / 1.056 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.5593, allocations: 170.5 kB / 1.056 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004225/0.5597, allocations: 325 kB / 1.057 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.5597, allocations: 4 kB / 1.057 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006548/0.5604, allocations: 0.5262 MB / 1.057 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.5604, allocations: 4 kB / 1.057 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.5604, allocations: 3.984 kB / 1.057 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.5604, allocations: 4 kB / 1.057 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003055/0.5607, allocations: 83.92 kB / 1.057 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.5607, allocations: 0 / 1.057 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003443/0.5611, allocations: 31.67 kB / 1.057 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.5611, allocations: 12 kB / 1.057 GB, free: 12.21 MB / 0.8106 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.0007175/0.5618, allocations: 0.6852 MB / 1.058 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/0.562, allocations: 185.6 kB / 1.058 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002971/0.5624, allocations: 219.2 kB / 1.058 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.5624, allocations: 8 kB / 1.058 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.5624, allocations: 0 / 1.058 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.5624, allocations: 3.984 kB / 1.058 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00181/0.5642, allocations: 1.577 MB / 1.06 GB, free: 9.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.5642, allocations: 0 / 1.06 GB, free: 9.457 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/0.5645, allocations: 79.89 kB / 1.06 GB, free: 9.379 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.5645, allocations: 0 / 1.06 GB, free: 9.379 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.5645, allocations: 12.09 kB / 1.06 GB, free: 9.367 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.5645, allocations: 7.938 kB / 1.06 GB, free: 9.359 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.5646, allocations: 7.938 kB / 1.06 GB, free: 9.352 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006619/0.5652, allocations: 0.6309 MB / 1.061 GB, free: 8.691 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004438/0.5657, allocations: 378.5 kB / 1.061 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.5658, allocations: 12 kB / 1.061 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003965/0.5662, allocations: 8 kB / 1.061 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.5663, allocations: 31.83 kB / 1.061 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.5663, allocations: 8 kB / 1.061 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002131/0.5684, allocations: 1.851 MB / 1.063 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5684, allocations: 0 / 1.063 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005511/0.569, allocations: 227.8 kB / 1.063 GB, free: 6.152 MB / 0.8106 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.001117/0.5701, allocations: 1.253 MB / 1.064 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004653/0.5706, allocations: 327.6 kB / 1.065 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.5706, allocations: 0 / 1.065 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002093/0.5708, allocations: 171.8 kB / 1.065 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002331/0.5732, allocations: 0.5781 MB / 1.065 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02216/0.5953, allocations: 16.92 MB / 1.082 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001135/0.5965, allocations: 1.746 MB / 1.084 GB, free: 272 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0007152/0.5972, allocations: 315.1 kB / 1.084 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000624/0.5979, allocations: 0.593 MB / 1.085 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of SimCode: time 9.82e-07/0.5979, allocations: 0 / 1.085 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.178/1.775, allocations: 38.02 MB / 1.122 GB, free: 9.91 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002897/1.776, allocations: 292.9 kB / 1.122 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.667/4.443, allocations: 0 / 1.122 GB, free: 9.527 MB / 0.8731 GB (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches