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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 116.8 kB / 17.17 MB, free: 6.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002301/0.002301, allocations: 214.4 kB / 20.13 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.44/1.44, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.685/2.685, allocations: 476.7 MB / 0.7678 GB, free: 9.312 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 65 kB / 1.113 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9039/0.9058, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.009791/0.9156, allocations: 7.396 MB / 1.286 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009237/0.9248, allocations: 5.248 MB / 1.291 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001775/0.9266, allocations: 72.19 kB / 1.291 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004952/0.9316, allocations: 1.693 MB / 1.293 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002016/0.9336, allocations: 0.6087 MB / 1.294 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008996/0.9345, allocations: 233.2 kB / 1.294 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002478/0.937, allocations: 1.765 MB / 1.296 GB, free: 456 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006053/0.9376, allocations: 411.2 kB / 1.296 GB, free: 304 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.9386, allocations: 0.7193 MB / 1.297 GB, free: 15.99 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0011/0.9397, allocations: 0.8329 MB / 1.298 GB, free: 15.6 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001553/0.9399, allocations: 80.91 kB / 1.298 GB, free: 15.6 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005292/0.9404, allocations: 212.7 kB / 1.298 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003668/0.9408, allocations: 332.3 kB / 1.298 GB, free: 15.38 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007961/0.9416, allocations: 0.7898 MB / 1.299 GB, free: 14.86 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003127/0.9447, allocations: 2.459 MB / 1.301 GB, free: 13.92 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.9447, allocations: 0 / 1.301 GB, free: 13.92 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9447, allocations: 0.6562 kB / 1.301 GB, free: 13.92 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.399e-05/0.9447, allocations: 1.094 kB / 1.301 GB, free: 13.92 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.003699/0.9484, allocations: 2.321 MB / 1.304 GB, free: 12.34 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.9485, allocations: 10.39 kB / 1.304 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.064e-05/0.9485, allocations: 9.625 kB / 1.304 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.329e-05/0.9486, allocations: 82.62 kB / 1.304 GB, free: 12.27 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002843/0.9489, allocations: 208.2 kB / 1.304 GB, free: 12.16 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002959/0.9518, allocations: 1.688 MB / 1.306 GB, free: 11.27 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/0.9518, allocations: 31.73 kB / 1.306 GB, free: 11.25 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.345e-05/0.9519, allocations: 32.62 kB / 1.306 GB, free: 11.25 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008106/0.9527, allocations: 454 kB / 1.306 GB, free: 11.08 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.9527, allocations: 0 / 1.306 GB, free: 11.08 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.279e-05/0.9528, allocations: 19.05 kB / 1.306 GB, free: 11.07 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-05/0.9528, allocations: 21.05 kB / 1.306 GB, free: 11.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007086/0.9535, allocations: 429.4 kB / 1.306 GB, free: 10.95 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003606/0.9571, allocations: 2.312 MB / 1.309 GB, free: 9.629 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.9582, allocations: 493.7 kB / 1.309 GB, free: 9.484 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/0.9585, allocations: 194.6 kB / 1.309 GB, free: 9.422 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.9586, allocations: 3.531 kB / 1.309 GB, free: 9.422 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.9586, allocations: 45.58 kB / 1.309 GB, free: 9.371 MB / 1.014 GB Notification: Performance of pre-optimization done (n=34): time 1.793e-06/0.9586, allocations: 0 / 1.309 GB, free: 9.371 MB / 1.014 GB Notification: Performance of matching and sorting (n=34): time 0.001085/0.9597, allocations: 0.6452 MB / 1.31 GB, free: 9.105 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.9597, allocations: 56.78 kB / 1.31 GB, free: 9.043 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003768/0.9635, allocations: 2.552 MB / 1.313 GB, free: 8.215 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.731e-05/0.9635, allocations: 31.11 kB / 1.313 GB, free: 8.18 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008165/0.9643, allocations: 0.7694 MB / 1.313 GB, free: 7.574 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.9644, allocations: 118.6 kB / 1.314 GB, free: 7.48 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.9646, allocations: 73.86 kB / 1.314 GB, free: 7.438 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.9647, allocations: 326.4 kB / 1.314 GB, free: 7.121 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.965, allocations: 133.6 kB / 1.314 GB, free: 7.086 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002862/0.9652, allocations: 181.9 kB / 1.314 GB, free: 7.02 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000488/0.9657, allocations: 321.6 kB / 1.314 GB, free: 6.91 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.9657, allocations: 1.125 kB / 1.315 GB, free: 6.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008226/0.9666, allocations: 0.5341 MB / 1.315 GB, free: 6.676 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.9666, allocations: 10.48 kB / 1.315 GB, free: 6.672 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.9666, allocations: 0 / 1.315 GB, free: 6.672 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.9666, allocations: 1.25 kB / 1.315 GB, free: 6.672 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003424/0.9669, allocations: 76.31 kB / 1.315 GB, free: 6.668 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.9669, allocations: 1.75 kB / 1.315 GB, free: 6.668 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005215/0.9675, allocations: 28.08 kB / 1.315 GB, free: 6.648 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.9675, allocations: 10.31 kB / 1.315 GB, free: 6.645 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.0008666/0.9684, allocations: 0.6865 MB / 1.316 GB, free: 6.348 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000229/0.9686, allocations: 201.7 kB / 1.316 GB, free: 6.234 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003464/0.9689, allocations: 217.8 kB / 1.316 GB, free: 6.141 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.9689, allocations: 3.875 kB / 1.316 GB, free: 6.141 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/0.969, allocations: 0 / 1.316 GB, free: 6.141 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.969, allocations: 2.156 kB / 1.316 GB, free: 6.141 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/0.9714, allocations: 1.572 MB / 1.318 GB, free: 5.387 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.9714, allocations: 1.375 kB / 1.318 GB, free: 5.387 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003002/0.9717, allocations: 82.55 kB / 1.318 GB, free: 5.375 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.9717, allocations: 5.828 kB / 1.318 GB, free: 5.371 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.9717, allocations: 6.75 kB / 1.318 GB, free: 5.367 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.9717, allocations: 7.297 kB / 1.318 GB, free: 5.363 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.9717, allocations: 1.375 kB / 1.318 GB, free: 5.363 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007983/0.9725, allocations: 0.6494 MB / 1.318 GB, free: 4.988 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005665/0.9731, allocations: 385.7 kB / 1.319 GB, free: 4.73 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/0.9732, allocations: 7.5 kB / 1.319 GB, free: 4.727 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003907/0.9736, allocations: 11.95 kB / 1.319 GB, free: 4.719 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.049e-05/0.9737, allocations: 17.02 kB / 1.319 GB, free: 4.719 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.9737, allocations: 15 kB / 1.319 GB, free: 4.711 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002684/0.9764, allocations: 1.836 MB / 1.321 GB, free: 4.012 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.9764, allocations: 1.281 kB / 1.321 GB, free: 4.012 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00073/0.9771, allocations: 230 kB / 1.321 GB, free: 3.984 MB / 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.001439/0.9786, allocations: 1.281 MB / 1.322 GB, free: 2.992 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005534/0.9791, allocations: 320.7 kB / 1.322 GB, free: 2.852 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.9791, allocations: 0 / 1.322 GB, free: 2.852 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002334/0.9793, allocations: 161.9 kB / 1.323 GB, free: 2.781 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002271/0.9816, allocations: 0.621 MB / 1.323 GB, free: 2.465 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02135/1.003, allocations: 14.88 MB / 1.338 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0015/1.004, allocations: 1.752 MB / 1.339 GB, free: 9.262 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009774/1.005, allocations: 314.2 kB / 1.34 GB, free: 9.148 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007529/1.006, allocations: 0.5991 MB / 1.34 GB, free: 8.621 MB / 1.029 GB Notification: Performance of SimCode: time 1.032e-06/1.006, allocations: 3.938 kB / 1.34 GB, free: 8.617 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07947/1.086, allocations: 39.99 MB / 1.379 GB, free: 5.309 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/12.05, allocations: 8.062 kB / 1.379 GB, free: 5.301 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 --stepSize=0.0004 --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/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: 18.29517597699305]