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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.007658/0.007658, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001582/0.001582, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.24/1.24, 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 10.1.1-maint.10.0.x/package.mo): time 2.244/2.244, allocations: 437 MB / 0.7105 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.89 kB / 1.018 GB, free: 9.785 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7303/0.7315, allocations: 151.6 MB / 1.166 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.007258/0.7388, allocations: 7.339 MB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006399/0.7452, allocations: 5.188 MB / 1.178 GB, free: 7.168 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.7463, allocations: 55.69 kB / 1.179 GB, free: 7.113 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003908/0.7502, allocations: 1.687 MB / 1.18 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00149/0.7518, allocations: 0.6088 MB / 1.181 GB, free: 4.805 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007335/0.7525, allocations: 229.7 kB / 1.181 GB, free: 4.586 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001756/0.7543, allocations: 1.759 MB / 1.183 GB, free: 2.824 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000615/0.7549, allocations: 0.5813 MB / 1.183 GB, free: 2.219 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006861/0.7556, allocations: 0.7075 MB / 1.184 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007857/0.7564, allocations: 0.8045 MB / 1.185 GB, free: 0.6953 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.7565, allocations: 80 kB / 1.185 GB, free: 0.6172 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004352/0.757, allocations: 203.8 kB / 1.185 GB, free: 428 kB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000266/0.7572, allocations: 330.5 kB / 1.185 GB, free: 96 kB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006133/0.7579, allocations: 0.7884 MB / 1.186 GB, free: 15.3 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001931/0.7598, allocations: 2.425 MB / 1.188 GB, free: 12.87 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.7598, allocations: 0 / 1.188 GB, free: 12.87 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7598, allocations: 0 / 1.188 GB, free: 12.87 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.904e-05/0.7599, allocations: 0 / 1.188 GB, free: 12.87 MB / 0.92 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.002498/0.7624, allocations: 2.261 MB / 1.191 GB, free: 10.54 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.7624, allocations: 12.03 kB / 1.191 GB, free: 10.52 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.049e-05/0.7625, allocations: 74.7 kB / 1.191 GB, free: 10.44 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002059/0.7627, allocations: 202.4 kB / 1.191 GB, free: 10.24 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002081/0.7648, allocations: 1.669 MB / 1.193 GB, free: 8.504 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.7648, allocations: 29 kB / 1.193 GB, free: 8.477 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.163e-05/0.7649, allocations: 35.98 kB / 1.193 GB, free: 8.441 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005912/0.7655, allocations: 446.3 kB / 1.193 GB, free: 8 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.7655, allocations: 7.922 kB / 1.193 GB, free: 7.992 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/0.7655, allocations: 16 kB / 1.193 GB, free: 7.977 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.424e-05/0.7656, allocations: 28.92 kB / 1.193 GB, free: 7.949 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005464/0.7661, allocations: 427.6 kB / 1.194 GB, free: 7.531 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00254/0.7687, allocations: 2.299 MB / 1.196 GB, free: 5.082 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008573/0.7695, allocations: 0.4973 MB / 1.196 GB, free: 4.574 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002493/0.7698, allocations: 201.8 kB / 1.196 GB, free: 4.375 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.7698, allocations: 4.281 kB / 1.196 GB, free: 4.371 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.7699, allocations: 34.84 kB / 1.197 GB, free: 4.328 MB / 0.92 GB Notification: Performance of pre-optimization done (n=34): time 4.579e-06/0.7699, allocations: 0 / 1.197 GB, free: 4.328 MB / 0.92 GB Notification: Performance of matching and sorting (n=34): time 0.0008198/0.7707, allocations: 0.6497 MB / 1.197 GB, free: 3.672 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.7707, allocations: 55.41 kB / 1.197 GB, free: 3.605 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002665/0.7734, allocations: 2.556 MB / 1.2 GB, free: 1.02 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.7734, allocations: 29.7 kB / 1.2 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006387/0.7741, allocations: 0.7722 MB / 1.2 GB, free: 212 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.993e-05/0.7742, allocations: 110.3 kB / 1.201 GB, free: 100 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-05/0.7743, allocations: 69.59 kB / 1.201 GB, free: 24 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.7744, allocations: 326.5 kB / 1.201 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.7746, allocations: 139.8 kB / 1.201 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.7748, allocations: 175.4 kB / 1.201 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003927/0.7752, allocations: 325 kB / 1.202 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.7752, allocations: 0 / 1.202 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006066/0.7758, allocations: 0.5223 MB / 1.202 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.7758, allocations: 11.98 kB / 1.202 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.7759, allocations: 0 / 1.202 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.7759, allocations: 0 / 1.202 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002947/0.7762, allocations: 83.92 kB / 1.202 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.7762, allocations: 4 kB / 1.202 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/0.7765, allocations: 27.69 kB / 1.202 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.7765, allocations: 8 kB / 1.202 GB, free: 14.4 MB / 0.9356 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.0006299/0.7772, allocations: 0.6886 MB / 1.203 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.7773, allocations: 189.6 kB / 1.203 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.7776, allocations: 219.2 kB / 1.203 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.7776, allocations: 4 kB / 1.203 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.7776, allocations: 0 / 1.203 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.7776, allocations: 11.98 kB / 1.203 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.7793, allocations: 1.562 MB / 1.205 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.7794, allocations: 0 / 1.205 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002636/0.7796, allocations: 79.89 kB / 1.205 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.7796, allocations: 0 / 1.205 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.7797, allocations: 8 kB / 1.205 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.7797, allocations: 4.094 kB / 1.205 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.7797, allocations: 11.88 kB / 1.205 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006126/0.7803, allocations: 0.6397 MB / 1.206 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000439/0.7807, allocations: 370.5 kB / 1.206 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.7809, allocations: 11.94 kB / 1.206 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003388/0.7812, allocations: 15.94 kB / 1.206 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.7813, allocations: 19.91 kB / 1.206 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.7813, allocations: 12 kB / 1.206 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001989/0.7833, allocations: 1.831 MB / 1.208 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7833, allocations: 0 / 1.208 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000549/0.7838, allocations: 223.8 kB / 1.208 GB, free: 8.371 MB / 0.9356 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.001139/0.785, allocations: 1.249 MB / 1.209 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004727/0.7855, allocations: 336 kB / 1.209 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.7855, allocations: 8 kB / 1.209 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.7857, allocations: 176 kB / 1.21 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/0.7876, allocations: 0.6132 MB / 1.21 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01712/0.8047, allocations: 14.82 MB / 1.225 GB, free: 6.953 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001477/0.8062, allocations: 1.754 MB / 1.226 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0007941/0.8071, allocations: 315.2 kB / 1.227 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006831/0.8078, allocations: 0.593 MB / 1.227 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of SimCode: time 1.192e-06/0.8078, allocations: 0 / 1.227 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0654/0.8732, allocations: 39.79 MB / 1.266 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/10.93, allocations: 15.61 kB / 1.266 GB, free: 12.96 MB / 0.9981 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