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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001105/0.001105, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001108/0.001108, allocations: 196.5 kB / 16.14 MB, free: 6.703 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.218/1.218, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.528/2.528, allocations: 461.9 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 69.75 kB / 0.8985 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2456, allocations: 157.4 MB / 1.052 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.007379/0.253, allocations: 7.307 MB / 1.059 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005921/0.2589, allocations: 5.115 MB / 1.064 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005025/0.2595, allocations: 39.75 kB / 1.064 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003441/0.2629, allocations: 1.579 MB / 1.066 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0009125/0.2638, allocations: 0.5278 MB / 1.066 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005519/0.2644, allocations: 191.7 kB / 1.067 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001723/0.2661, allocations: 1.965 MB / 1.069 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005574/0.2667, allocations: 0.5415 MB / 1.069 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005455/0.2673, allocations: 0.6488 MB / 1.07 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006905/0.268, allocations: 0.8084 MB / 1.07 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.2681, allocations: 68 kB / 1.071 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000383/0.2685, allocations: 187.8 kB / 1.071 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002687/0.2688, allocations: 314.6 kB / 1.071 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0005777/0.2694, allocations: 0.7765 MB / 1.072 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.2708, allocations: 2.055 MB / 1.074 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.2708, allocations: 4 kB / 1.074 GB, free: 2 MB / 0.8262 GB Notification: Performance of FrontEnd: time 6.91e-07/0.2708, allocations: 0 / 1.074 GB, free: 2 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.307e-05/0.2708, allocations: 0 / 1.074 GB, free: 2 MB / 0.8262 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.002389/0.2732, allocations: 2.153 MB / 1.076 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.2732, allocations: 8.031 kB / 1.076 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.523e-05/0.2733, allocations: 82.62 kB / 1.076 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/0.2735, allocations: 198.4 kB / 1.076 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001889/0.2754, allocations: 1.563 MB / 1.078 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.2755, allocations: 32.92 kB / 1.078 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.642e-05/0.2755, allocations: 40 kB / 1.078 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006049/0.2761, allocations: 442.3 kB / 1.078 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.2761, allocations: 0 / 1.078 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.72e-05/0.2762, allocations: 23.98 kB / 1.078 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-05/0.2762, allocations: 24.92 kB / 1.078 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005712/0.2768, allocations: 431.6 kB / 1.079 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002541/0.2794, allocations: 2.323 MB / 1.081 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000883/0.2803, allocations: 0.4969 MB / 1.081 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002532/0.2805, allocations: 206.6 kB / 1.082 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.2805, allocations: 4.281 kB / 1.082 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.2806, allocations: 38.84 kB / 1.082 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=34): time 1.392e-06/0.2806, allocations: 0 / 1.082 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34): time 0.0008239/0.2814, allocations: 0.6383 MB / 1.082 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.2814, allocations: 59.41 kB / 1.082 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002717/0.2842, allocations: 2.575 MB / 1.085 GB, free: 6.316 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.2842, allocations: 33.7 kB / 1.085 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006489/0.2849, allocations: 0.7721 MB / 1.086 GB, free: 5.496 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.236e-05/0.2849, allocations: 110.3 kB / 1.086 GB, free: 5.387 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.285, allocations: 69.59 kB / 1.086 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.082e-05/0.2851, allocations: 326.5 kB / 1.086 GB, free: 4.988 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.2853, allocations: 139.8 kB / 1.086 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.2856, allocations: 181.4 kB / 1.086 GB, free: 4.668 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004092/0.286, allocations: 322.3 kB / 1.087 GB, free: 4.352 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.286, allocations: 0 / 1.087 GB, free: 4.352 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006157/0.2866, allocations: 0.5226 MB / 1.087 GB, free: 3.82 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.2866, allocations: 4 kB / 1.087 GB, free: 3.816 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.2866, allocations: 0 / 1.087 GB, free: 3.816 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.2866, allocations: 4 kB / 1.087 GB, free: 3.812 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.287, allocations: 75.89 kB / 1.087 GB, free: 3.738 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.287, allocations: 4.031 kB / 1.087 GB, free: 3.734 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003092/0.2873, allocations: 31.59 kB / 1.087 GB, free: 3.703 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.2873, allocations: 12 kB / 1.087 GB, free: 3.691 MB / 0.8419 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.000652/0.288, allocations: 0.6886 MB / 1.088 GB, free: 2.992 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/0.2881, allocations: 185.7 kB / 1.088 GB, free: 2.809 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.2884, allocations: 211.2 kB / 1.088 GB, free: 2.602 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.2884, allocations: 7.984 kB / 1.088 GB, free: 2.594 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.2884, allocations: 4 kB / 1.088 GB, free: 2.59 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.2884, allocations: 4 kB / 1.088 GB, free: 2.586 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/0.2902, allocations: 1.578 MB / 1.09 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.2902, allocations: 0 / 1.09 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002772/0.2905, allocations: 79.83 kB / 1.09 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.2905, allocations: 7.938 kB / 1.09 GB, free: 0.8516 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.2905, allocations: 4 kB / 1.09 GB, free: 0.8477 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.2905, allocations: 4 kB / 1.09 GB, free: 0.8438 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.2905, allocations: 8.031 kB / 1.09 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006128/0.2911, allocations: 0.643 MB / 1.091 GB, free: 168 kB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004473/0.2916, allocations: 374.8 kB / 1.091 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/0.2917, allocations: 8 kB / 1.091 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003613/0.2921, allocations: 19.84 kB / 1.091 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.2922, allocations: 23.91 kB / 1.091 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.855e-05/0.2922, allocations: 12 kB / 1.091 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002038/0.2942, allocations: 1.847 MB / 1.093 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2942, allocations: 0 / 1.093 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005374/0.2948, allocations: 227.8 kB / 1.093 GB, free: 13.62 MB / 0.8575 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.001103/0.2959, allocations: 1.254 MB / 1.094 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004471/0.2964, allocations: 323.5 kB / 1.095 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2964, allocations: 8 kB / 1.095 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.2966, allocations: 167.8 kB / 1.095 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002019/0.2986, allocations: 0.5866 MB / 1.095 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02182/0.3204, allocations: 16.86 MB / 1.112 GB, free: 9.57 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/0.3216, allocations: 1.761 MB / 1.114 GB, free: 7.773 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0007467/0.3224, allocations: 311 kB / 1.114 GB, free: 7.465 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006256/0.323, allocations: 0.5969 MB / 1.114 GB, free: 6.867 MB / 0.8731 GB Notification: Performance of SimCode: time 6.61e-07/0.323, allocations: 0 / 1.114 GB, free: 6.867 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.524/1.847, allocations: 38.39 MB / 1.152 GB, free: 1.02 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003103/1.847, allocations: 303 kB / 1.152 GB, free: 0.6289 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.561/4.409, allocations: 0 / 1.152 GB, free: 0.6289 MB / 0.9044 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