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.007395/0.007395, allocations: 101.2 kB / 15.73 MB, free: 6.031 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.001763/0.001763, allocations: 198.5 kB / 16.67 MB, free: 5.969 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.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.541/2.541, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 63.89 kB / 1.054 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2674, allocations: 157.4 MB / 1.207 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.00743/0.2748, allocations: 7.338 MB / 1.215 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006537/0.2814, allocations: 5.188 MB / 1.22 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.2826, allocations: 55.69 kB / 1.22 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004102/0.2867, allocations: 1.691 MB / 1.221 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001609/0.2884, allocations: 0.601 MB / 1.222 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007433/0.2891, allocations: 230 kB / 1.222 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001987/0.2911, allocations: 1.758 MB / 1.224 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006198/0.2918, allocations: 0.5736 MB / 1.224 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007666/0.2926, allocations: 0.7036 MB / 1.225 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000856/0.2934, allocations: 0.8006 MB / 1.226 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.2936, allocations: 88 kB / 1.226 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004469/0.294, allocations: 211.7 kB / 1.226 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002788/0.2943, allocations: 322.6 kB / 1.226 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006494/0.295, allocations: 0.7882 MB / 1.227 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002139/0.2971, allocations: 2.425 MB / 1.23 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2971, allocations: 4 kB / 1.23 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2971, allocations: 0 / 1.23 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.153e-05/0.2972, allocations: 4 kB / 1.23 GB, free: 3.09 MB / 0.9825 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.002838/0.3, allocations: 2.249 MB / 1.232 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.3001, allocations: 12.03 kB / 1.232 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.431e-05/0.3002, allocations: 78.7 kB / 1.232 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002266/0.3004, allocations: 206.4 kB / 1.232 GB, free: 484 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002483/0.3029, allocations: 1.672 MB / 1.234 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.3029, allocations: 29 kB / 1.234 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.084e-05/0.303, allocations: 32 kB / 1.234 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006341/0.3036, allocations: 454.3 kB / 1.234 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.3036, allocations: 0 / 1.234 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.3037, allocations: 19.98 kB / 1.234 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.092e-05/0.3037, allocations: 20.98 kB / 1.234 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005673/0.3043, allocations: 431.6 kB / 1.235 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002874/0.3072, allocations: 2.299 MB / 1.237 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008912/0.3081, allocations: 0.5008 MB / 1.237 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002506/0.3083, allocations: 201.3 kB / 1.238 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.3084, allocations: 4.281 kB / 1.238 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.3084, allocations: 42.78 kB / 1.238 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=34): time 1.673e-06/0.3084, allocations: 0 / 1.238 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34): time 0.0008853/0.3093, allocations: 0.6414 MB / 1.238 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.3093, allocations: 55.41 kB / 1.238 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002792/0.3121, allocations: 2.555 MB / 1.241 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.3122, allocations: 37.7 kB / 1.241 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006321/0.3128, allocations: 0.7644 MB / 1.242 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.861e-05/0.3129, allocations: 110.3 kB / 1.242 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.313, allocations: 81.59 kB / 1.242 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.3131, allocations: 322.5 kB / 1.242 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.3133, allocations: 131.9 kB / 1.242 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.3135, allocations: 181.8 kB / 1.242 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000403/0.3139, allocations: 321.2 kB / 1.243 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.314, allocations: 0 / 1.243 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000645/0.3146, allocations: 0.53 MB / 1.243 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.3146, allocations: 12.03 kB / 1.243 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.3146, allocations: 0 / 1.243 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3147, allocations: 3.984 kB / 1.243 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000307/0.315, allocations: 71.91 kB / 1.243 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.315, allocations: 4 kB / 1.243 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003281/0.3153, allocations: 27.67 kB / 1.243 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.3153, allocations: 12 kB / 1.243 GB, free: 4.617 MB / 0.9981 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.0006602/0.316, allocations: 0.6886 MB / 1.244 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.3162, allocations: 193.5 kB / 1.244 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.3165, allocations: 215.2 kB / 1.244 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.3165, allocations: 4 kB / 1.244 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3165, allocations: 0 / 1.244 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3165, allocations: 3.984 kB / 1.244 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/0.3184, allocations: 1.566 MB / 1.246 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3184, allocations: 4 kB / 1.246 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/0.3187, allocations: 75.98 kB / 1.246 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.3187, allocations: 4 kB / 1.246 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.3187, allocations: 8 kB / 1.246 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3187, allocations: 0 / 1.246 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.3187, allocations: 3.938 kB / 1.246 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006224/0.3193, allocations: 0.6468 MB / 1.247 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00058/0.3199, allocations: 370.5 kB / 1.247 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.32, allocations: 8 kB / 1.247 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/0.3204, allocations: 4 kB / 1.247 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.3204, allocations: 31.84 kB / 1.247 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.3205, allocations: 12 kB / 1.247 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.5665/0.887, allocations: 1.825 MB / 1.249 GB, free: 38 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.61e-07/0.887, allocations: 0 / 1.249 GB, free: 38 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009778/0.888, allocations: 228.4 kB / 1.249 GB, free: 38 MB / 0.9981 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.001234/0.8892, allocations: 1.25 MB / 1.25 GB, free: 37.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000558/0.8898, allocations: 326.4 kB / 1.251 GB, free: 37.32 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8898, allocations: 0.8438 kB / 1.251 GB, free: 37.32 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.89, allocations: 176 kB / 1.251 GB, free: 37.32 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/0.8921, allocations: 0.6239 MB / 1.251 GB, free: 37.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01971/0.9119, allocations: 14.81 MB / 1.266 GB, free: 34.64 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001335/0.9133, allocations: 1.755 MB / 1.268 GB, free: 33.89 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009156/0.9142, allocations: 316.1 kB / 1.268 GB, free: 33.88 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005879/0.9148, allocations: 0.5913 MB / 1.268 GB, free: 33.87 MB / 0.9981 GB Notification: Performance of SimCode: time 1.193e-06/0.9148, allocations: 3.938 kB / 1.268 GB, free: 33.86 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07218/0.987, allocations: 40.26 MB / 1.308 GB, free: 21.56 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.98/10.97, allocations: 11.66 kB / 1.308 GB, free: 21.55 MB / 0.9981 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