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) 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.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004268/0.004268, allocations: 96.72 kB / 15.73 MB, free: 6 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.001314/0.001314, allocations: 186.2 kB / 16.67 MB, free: 5.93 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: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.474/2.474, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 71.89 kB / 1.065 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2499, allocations: 159.1 MB / 1.22 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.007576/0.2575, allocations: 7.336 MB / 1.227 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005465/0.2629, allocations: 5.2 MB / 1.233 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004107/0.2634, allocations: 51.69 kB / 1.233 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003083/0.2665, allocations: 1.679 MB / 1.234 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008647/0.2673, allocations: 0.6048 MB / 1.235 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004875/0.2678, allocations: 238.3 kB / 1.235 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00151/0.2694, allocations: 1.752 MB / 1.237 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006121/0.27, allocations: 0.5775 MB / 1.237 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005752/0.2706, allocations: 0.6763 MB / 1.238 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008034/0.2714, allocations: 0.8084 MB / 1.239 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.2715, allocations: 80 kB / 1.239 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003974/0.2719, allocations: 211.7 kB / 1.239 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002814/0.2722, allocations: 322.6 kB / 1.239 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000634/0.2729, allocations: 0.7883 MB / 1.24 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002043/0.2749, allocations: 2.439 MB / 1.242 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2749, allocations: 4 kB / 1.242 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2749, allocations: 0 / 1.242 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.2749, allocations: 0 / 1.242 GB, free: 7.312 MB / 0.9981 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.002556/0.2775, allocations: 2.315 MB / 1.245 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.2775, allocations: 12.03 kB / 1.245 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.25e-05/0.2776, allocations: 78.7 kB / 1.245 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/0.2778, allocations: 219.5 kB / 1.245 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002122/0.28, allocations: 1.69 MB / 1.247 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.28, allocations: 32.94 kB / 1.247 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.82e-05/0.28, allocations: 32 kB / 1.247 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006042/0.2807, allocations: 450.3 kB / 1.247 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2807, allocations: 4 kB / 1.247 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.2807, allocations: 16 kB / 1.247 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.651e-05/0.2808, allocations: 24.92 kB / 1.247 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005742/0.2813, allocations: 427.7 kB / 1.248 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4112/0.6925, allocations: 2.298 MB / 1.25 GB, free: 29.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009771/0.6935, allocations: 0.4952 MB / 1.25 GB, free: 29.07 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002657/0.6938, allocations: 204.8 kB / 1.251 GB, free: 29.06 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.6939, allocations: 3.969 kB / 1.251 GB, free: 29.06 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.6939, allocations: 34.66 kB / 1.251 GB, free: 29.02 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=34): time 2.535e-06/0.6939, allocations: 0.875 kB / 1.251 GB, free: 29.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34): time 0.001064/0.695, allocations: 0.6487 MB / 1.251 GB, free: 28.98 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.986e-05/0.695, allocations: 56.53 kB / 1.251 GB, free: 28.92 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002801/0.6978, allocations: 2.559 MB / 1.254 GB, free: 28.71 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.6978, allocations: 31.2 kB / 1.254 GB, free: 28.68 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004917/0.6983, allocations: 0.7659 MB / 1.255 GB, free: 28.58 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.591e-05/0.6984, allocations: 125.4 kB / 1.255 GB, free: 28.52 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-05/0.6985, allocations: 69.73 kB / 1.255 GB, free: 28.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.834e-05/0.6985, allocations: 324.5 kB / 1.255 GB, free: 28.19 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.6987, allocations: 134.5 kB / 1.255 GB, free: 28.19 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.6989, allocations: 180.1 kB / 1.255 GB, free: 28.17 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003169/0.6992, allocations: 325.1 kB / 1.256 GB, free: 28.16 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6992, allocations: 0 / 1.256 GB, free: 28.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004868/0.6997, allocations: 0.5307 MB / 1.256 GB, free: 28.02 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.6997, allocations: 9.281 kB / 1.256 GB, free: 28.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.6998, allocations: 0 / 1.256 GB, free: 28.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.6998, allocations: 2.906 kB / 1.256 GB, free: 28.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.7, allocations: 82.94 kB / 1.256 GB, free: 28.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.7001, allocations: 0.6562 kB / 1.256 GB, free: 28.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003089/0.7004, allocations: 31.2 kB / 1.256 GB, free: 28.01 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.7004, allocations: 10.72 kB / 1.256 GB, free: 28.01 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.0005023/0.7009, allocations: 0.6841 MB / 1.257 GB, free: 27.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.701, allocations: 198 kB / 1.257 GB, free: 27.79 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.7013, allocations: 217.3 kB / 1.257 GB, free: 27.76 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.7013, allocations: 3.312 kB / 1.257 GB, free: 27.76 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.7013, allocations: 9.141 kB / 1.257 GB, free: 27.75 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.7013, allocations: 2.75 kB / 1.257 GB, free: 27.75 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001582/0.7029, allocations: 1.568 MB / 1.259 GB, free: 27.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.7029, allocations: 0 / 1.259 GB, free: 27.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/0.7031, allocations: 80.02 kB / 1.259 GB, free: 27.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.7032, allocations: 5.484 kB / 1.259 GB, free: 27.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.7032, allocations: 6.188 kB / 1.259 GB, free: 27.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.7032, allocations: 4.344 kB / 1.259 GB, free: 27.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7032, allocations: 3.688 kB / 1.259 GB, free: 27.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004834/0.7037, allocations: 0.6516 MB / 1.26 GB, free: 27.12 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003366/0.704, allocations: 384.7 kB / 1.26 GB, free: 26.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.7042, allocations: 11.08 kB / 1.26 GB, free: 26.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/0.7045, allocations: 7.719 kB / 1.26 GB, free: 26.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.7045, allocations: 20.89 kB / 1.26 GB, free: 26.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.7046, allocations: 9.438 kB / 1.26 GB, free: 26.91 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001717/0.7063, allocations: 1.832 MB / 1.262 GB, free: 26.77 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7063, allocations: 0 / 1.262 GB, free: 26.77 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005082/0.7068, allocations: 227.3 kB / 1.262 GB, free: 26.76 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.0133/0.7201, allocations: 1.271 MB / 1.263 GB, free: 25.95 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006056/0.7207, allocations: 330.5 kB / 1.264 GB, free: 25.94 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7207, allocations: 0.7188 kB / 1.264 GB, free: 25.94 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002566/0.721, allocations: 180 kB / 1.264 GB, free: 25.88 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/0.7229, allocations: 0.631 MB / 1.264 GB, free: 25.72 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01571/0.7386, allocations: 14.88 MB / 1.279 GB, free: 20.13 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.7397, allocations: 1.748 MB / 1.281 GB, free: 19.23 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007273/0.7404, allocations: 315.6 kB / 1.281 GB, free: 19.21 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005009/0.7409, allocations: 0.5928 MB / 1.282 GB, free: 18.73 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/0.7409, allocations: 0 / 1.282 GB, free: 18.73 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.513/3.254, allocations: 39.79 MB / 1.32 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/15.68, allocations: 13.5 kB / 1.32 GB, free: 5.133 MB / 0.9981 GB (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) 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) Reference file matches