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.001435/0.001435, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001662/0.001662, allocations: 194 kB / 16.25 MB, free: 6.637 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.285/1.285, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.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.293/2.293, allocations: 437 MB / 0.7101 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 67.91 kB / 0.8689 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4708/0.4719, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.007007/0.479, allocations: 7.283 MB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005714/0.4847, allocations: 5.126 MB / 1.029 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007935/0.4855, allocations: 39.75 kB / 1.029 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003229/0.4888, allocations: 1.598 MB / 1.031 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009085/0.4897, allocations: 0.5318 MB / 1.031 GB, free: 4.043 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004847/0.4902, allocations: 200.8 kB / 1.031 GB, free: 3.848 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001325/0.4915, allocations: 1.768 MB / 1.033 GB, free: 2.074 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000538/0.4921, allocations: 0.5969 MB / 1.034 GB, free: 1.457 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005151/0.4926, allocations: 0.684 MB / 1.034 GB, free: 0.7695 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006715/0.4933, allocations: 0.8279 MB / 1.035 GB, free: 15.94 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.4934, allocations: 84 kB / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003275/0.4937, allocations: 195.8 kB / 1.035 GB, free: 15.66 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002374/0.494, allocations: 330.5 kB / 1.036 GB, free: 15.34 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0005257/0.4945, allocations: 0.796 MB / 1.037 GB, free: 14.54 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001454/0.496, allocations: 2.192 MB / 1.039 GB, free: 12.34 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.496, allocations: 4 kB / 1.039 GB, free: 12.34 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.112e-06/0.496, allocations: 0 / 1.039 GB, free: 12.34 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.496, allocations: 0 / 1.039 GB, free: 12.34 MB / 0.795 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.00226/0.4983, allocations: 2.202 MB / 1.041 GB, free: 10.07 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.4983, allocations: 8.031 kB / 1.041 GB, free: 10.06 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.669e-05/0.4984, allocations: 70.72 kB / 1.041 GB, free: 9.98 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001912/0.4986, allocations: 202.4 kB / 1.041 GB, free: 9.781 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/0.5004, allocations: 1.575 MB / 1.043 GB, free: 8.137 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.5004, allocations: 29 kB / 1.043 GB, free: 8.105 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.7e-05/0.5005, allocations: 39.98 kB / 1.043 GB, free: 8.066 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000587/0.5011, allocations: 442.3 kB / 1.043 GB, free: 7.629 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.5011, allocations: 3.938 kB / 1.043 GB, free: 7.625 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.5011, allocations: 12 kB / 1.043 GB, free: 7.613 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-05/0.5012, allocations: 20.98 kB / 1.043 GB, free: 7.594 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005337/0.5017, allocations: 431.6 kB / 1.044 GB, free: 7.168 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002368/0.5041, allocations: 2.331 MB / 1.046 GB, free: 4.688 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008203/0.5049, allocations: 0.4962 MB / 1.046 GB, free: 4.18 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002359/0.5051, allocations: 197.3 kB / 1.046 GB, free: 3.984 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.5052, allocations: 8.219 kB / 1.046 GB, free: 3.977 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.5052, allocations: 46.78 kB / 1.047 GB, free: 3.922 MB / 0.795 GB Notification: Performance of pre-optimization done (n=34): time 1.332e-06/0.5052, allocations: 0 / 1.047 GB, free: 3.922 MB / 0.795 GB Notification: Performance of matching and sorting (n=34): time 0.0007671/0.506, allocations: 0.6419 MB / 1.047 GB, free: 3.273 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.506, allocations: 55.41 kB / 1.047 GB, free: 3.207 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002547/0.5086, allocations: 2.575 MB / 1.05 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.5086, allocations: 33.7 kB / 1.05 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005891/0.5092, allocations: 0.7722 MB / 1.051 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.392e-05/0.5093, allocations: 102.4 kB / 1.051 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.471e-05/0.5094, allocations: 77.59 kB / 1.051 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.977e-05/0.5095, allocations: 322.5 kB / 1.051 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.5096, allocations: 135.9 kB / 1.051 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.5098, allocations: 178.7 kB / 1.051 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003719/0.5102, allocations: 325 kB / 1.052 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5102, allocations: 0 / 1.052 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005799/0.5108, allocations: 0.5264 MB / 1.052 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.5108, allocations: 7.938 kB / 1.052 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5108, allocations: 8.031 kB / 1.052 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.5109, allocations: 0 / 1.052 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.5112, allocations: 75.89 kB / 1.052 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.5112, allocations: 0 / 1.052 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002933/0.5115, allocations: 35.59 kB / 1.052 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.5115, allocations: 12 kB / 1.052 GB, free: 13.97 MB / 0.8106 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.0005995/0.5121, allocations: 0.6891 MB / 1.053 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.5123, allocations: 189.7 kB / 1.053 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.5125, allocations: 215.2 kB / 1.053 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.5125, allocations: 4 kB / 1.053 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.5125, allocations: 0 / 1.053 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.5125, allocations: 3.984 kB / 1.053 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.5141, allocations: 1.585 MB / 1.055 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.5141, allocations: 0 / 1.055 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/0.5144, allocations: 79.98 kB / 1.055 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.5144, allocations: 4 kB / 1.055 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.5144, allocations: 4 kB / 1.055 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.5145, allocations: 4 kB / 1.055 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.5145, allocations: 7.922 kB / 1.055 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005847/0.5151, allocations: 0.6425 MB / 1.056 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004183/0.5155, allocations: 370.6 kB / 1.056 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.5156, allocations: 8 kB / 1.056 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003507/0.516, allocations: 11.91 kB / 1.056 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/0.516, allocations: 31.89 kB / 1.056 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.5161, allocations: 8 kB / 1.056 GB, free: 10 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001876/0.5179, allocations: 1.847 MB / 1.058 GB, free: 8.137 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5179, allocations: 0 / 1.058 GB, free: 8.137 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004945/0.5184, allocations: 231.8 kB / 1.058 GB, free: 7.91 MB / 0.8106 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.001021/0.5195, allocations: 1.255 MB / 1.059 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005347/0.52, allocations: 415.9 kB / 1.06 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.52, allocations: 0 / 1.06 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.5202, allocations: 167.8 kB / 1.06 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001917/0.5221, allocations: 0.6328 MB / 1.06 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02051/0.5427, allocations: 17.17 MB / 1.077 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.5437, allocations: 1.758 MB / 1.079 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000723/0.5444, allocations: 348.9 kB / 1.079 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005911/0.545, allocations: 0.6048 MB / 1.08 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of SimCode: time 4.61e-07/0.545, allocations: 3.938 kB / 1.08 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.445/1.99, allocations: 40 MB / 1.119 GB, free: 9.277 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003054/1.991, allocations: 286.5 kB / 1.119 GB, free: 8.898 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.574/7.565, allocations: 0 / 1.119 GB, free: 8.898 MB / 0.8731 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