Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 114.7 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 225.6 MB / 249.4 MB, free: 3.039 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.626/2.626, allocations: 476.7 MB / 0.7629 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 177] 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.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 71.83 kB / 1.107 GB, free: 4.973 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9347/0.9366, allocations: 168.7 MB / 1.272 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.007524/0.9441, allocations: 7.42 MB / 1.279 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007446/0.9516, allocations: 5.215 MB / 1.284 GB, free: 14.63 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000978/0.9525, allocations: 56.41 kB / 1.284 GB, free: 14.61 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004232/0.9568, allocations: 1.692 MB / 1.286 GB, free: 13.82 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001521/0.9583, allocations: 0.6144 MB / 1.286 GB, free: 13.41 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007447/0.959, allocations: 233.9 kB / 1.286 GB, free: 13.29 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00199/0.961, allocations: 1.761 MB / 1.288 GB, free: 12.47 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004408/0.9615, allocations: 232.1 kB / 1.288 GB, free: 12.34 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008026/0.9623, allocations: 0.7031 MB / 1.289 GB, free: 12.03 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.9633, allocations: 0.8386 MB / 1.29 GB, free: 11.64 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001435/0.9635, allocations: 81.44 kB / 1.29 GB, free: 11.64 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004829/0.964, allocations: 206.2 kB / 1.29 GB, free: 11.6 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003678/0.9643, allocations: 334.1 kB / 1.291 GB, free: 11.43 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007689/0.9651, allocations: 0.7912 MB / 1.291 GB, free: 10.91 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002865/0.968, allocations: 2.462 MB / 1.294 GB, free: 9.961 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.968, allocations: 1.688 kB / 1.294 GB, free: 9.961 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.492e-06/0.968, allocations: 0 / 1.294 GB, free: 9.961 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.069e-05/0.968, allocations: 3.938 kB / 1.294 GB, free: 9.957 MB / 1.014 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.00328/0.9713, allocations: 2.319 MB / 1.296 GB, free: 8.383 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.9713, allocations: 10.19 kB / 1.296 GB, free: 8.383 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001029/0.9714, allocations: 82.77 kB / 1.296 GB, free: 8.316 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002467/0.9717, allocations: 213.4 kB / 1.296 GB, free: 8.199 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002686/0.9743, allocations: 1.688 MB / 1.298 GB, free: 7.305 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.569e-05/0.9744, allocations: 32.36 kB / 1.298 GB, free: 7.289 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.924e-05/0.9745, allocations: 32.91 kB / 1.298 GB, free: 7.281 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008885/0.9754, allocations: 445.7 kB / 1.298 GB, free: 7.125 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.9754, allocations: 0 / 1.298 GB, free: 7.125 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.506e-05/0.9754, allocations: 19.64 kB / 1.298 GB, free: 7.109 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.362e-05/0.9755, allocations: 24.44 kB / 1.298 GB, free: 7.105 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000694/0.9762, allocations: 429 kB / 1.299 GB, free: 6.988 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003324/0.9795, allocations: 2.3 MB / 1.301 GB, free: 5.68 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.9805, allocations: 0.4907 MB / 1.302 GB, free: 5.527 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000317/0.9808, allocations: 193.9 kB / 1.302 GB, free: 5.465 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.9809, allocations: 3.938 kB / 1.302 GB, free: 5.465 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.9809, allocations: 37.8 kB / 1.302 GB, free: 5.422 MB / 1.014 GB Notification: Performance of pre-optimization done (n=34): time 1.372e-06/0.9809, allocations: 0 / 1.302 GB, free: 5.422 MB / 1.014 GB Notification: Performance of matching and sorting (n=34): time 0.001057/0.982, allocations: 0.6495 MB / 1.302 GB, free: 5.152 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.982, allocations: 60.08 kB / 1.302 GB, free: 5.086 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003622/0.9856, allocations: 2.553 MB / 1.305 GB, free: 4.258 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.9857, allocations: 32.02 kB / 1.305 GB, free: 4.223 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008272/0.9865, allocations: 0.7609 MB / 1.306 GB, free: 3.625 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.9866, allocations: 123.8 kB / 1.306 GB, free: 3.527 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.9867, allocations: 68.08 kB / 1.306 GB, free: 3.488 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.9869, allocations: 326.2 kB / 1.306 GB, free: 3.172 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.9871, allocations: 139.2 kB / 1.306 GB, free: 3.133 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.9874, allocations: 182.5 kB / 1.307 GB, free: 3.066 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004911/0.9879, allocations: 324.7 kB / 1.307 GB, free: 2.953 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.9879, allocations: 0 / 1.307 GB, free: 2.953 MB / 1.014 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000798/0.9887, allocations: 0.5382 MB / 1.307 GB, free: 2.715 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.9887, allocations: 4.531 kB / 1.307 GB, free: 2.715 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.9887, allocations: 1.828 kB / 1.307 GB, free: 2.715 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.9887, allocations: 1.125 kB / 1.307 GB, free: 2.715 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/0.989, allocations: 80.36 kB / 1.307 GB, free: 2.707 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.989, allocations: 2.188 kB / 1.307 GB, free: 2.707 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000416/0.9895, allocations: 32 kB / 1.308 GB, free: 2.684 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.9895, allocations: 10.62 kB / 1.308 GB, free: 2.68 MB / 1.014 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.0008855/0.9904, allocations: 0.6856 MB / 1.308 GB, free: 2.383 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/0.9906, allocations: 197.4 kB / 1.308 GB, free: 2.273 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003479/0.9909, allocations: 218.4 kB / 1.309 GB, free: 2.18 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.991, allocations: 3.312 kB / 1.309 GB, free: 2.18 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.991, allocations: 0.5625 kB / 1.309 GB, free: 2.18 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.991, allocations: 2.562 kB / 1.309 GB, free: 2.18 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002301/0.9933, allocations: 1.571 MB / 1.31 GB, free: 1.426 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.9933, allocations: 2.109 kB / 1.31 GB, free: 1.426 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002866/0.9936, allocations: 77.7 kB / 1.31 GB, free: 1.418 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.9936, allocations: 2.344 kB / 1.31 GB, free: 1.418 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.9936, allocations: 7.125 kB / 1.31 GB, free: 1.414 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.311e-06/0.9936, allocations: 6.562 kB / 1.31 GB, free: 1.41 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.9936, allocations: 5.125 kB / 1.31 GB, free: 1.406 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008122/0.9944, allocations: 0.6477 MB / 1.311 GB, free: 1.035 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005313/0.9949, allocations: 387.6 kB / 1.311 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/0.9951, allocations: 8.328 kB / 1.311 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003853/0.9955, allocations: 9.141 kB / 1.311 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.9955, allocations: 27.03 kB / 1.311 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/0.9955, allocations: 12.42 kB / 1.311 GB, free: 0.75 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00266/0.9982, allocations: 1.829 MB / 1.313 GB, free: 132 kB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9982, allocations: 0 / 1.313 GB, free: 132 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006797/0.9989, allocations: 227.5 kB / 1.313 GB, free: 108 kB / 1.014 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.001448/1, allocations: 1.28 MB / 1.315 GB, free: 15.17 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000605/1.001, allocations: 325.3 kB / 1.315 GB, free: 15.08 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.001, allocations: 1.188 kB / 1.315 GB, free: 15.08 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002604/1.001, allocations: 165.5 kB / 1.315 GB, free: 15.04 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002238/1.003, allocations: 0.63 MB / 1.316 GB, free: 14.82 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02326/1.027, allocations: 14.87 MB / 1.33 GB, free: 9.199 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001777/1.028, allocations: 1.752 MB / 1.332 GB, free: 8.293 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001096/1.03, allocations: 310.8 kB / 1.332 GB, free: 8.258 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007717/1.03, allocations: 0.5922 MB / 1.333 GB, free: 7.781 MB / 1.029 GB Notification: Performance of SimCode: time 1.322e-06/1.03, allocations: 0 / 1.333 GB, free: 7.781 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08297/1.113, allocations: 39.91 MB / 1.372 GB, free: 14.32 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/11.53, allocations: 16 kB / 1.372 GB, free: 14.31 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.417599381005857]