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.001414/0.001414, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.281/1.281, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.58/2.58, allocations: 469.8 MB / 0.7424 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 63.53 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2415, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.008292/0.2498, allocations: 7.339 MB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006695/0.2565, allocations: 5.184 MB / 1.076 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006758/0.2572, allocations: 39.75 kB / 1.076 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003505/0.2608, allocations: 1.683 MB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000979/0.2618, allocations: 0.5971 MB / 1.079 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005284/0.2623, allocations: 228.9 kB / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001569/0.2639, allocations: 1.743 MB / 1.081 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006425/0.2645, allocations: 0.5853 MB / 1.081 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005992/0.2651, allocations: 0.6724 MB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008373/0.266, allocations: 0.8123 MB / 1.083 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.2661, allocations: 83.94 kB / 1.083 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004094/0.2665, allocations: 207.8 kB / 1.083 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003113/0.2669, allocations: 322.6 kB / 1.083 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0006781/0.2676, allocations: 0.796 MB / 1.084 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001812/0.2694, allocations: 2.199 MB / 1.086 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2694, allocations: 0 / 1.086 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.835e-06/0.2694, allocations: 0 / 1.086 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.2694, allocations: 3.938 kB / 1.086 GB, free: 7.637 MB / 0.8419 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.002634/0.272, allocations: 2.198 MB / 1.088 GB, free: 5.371 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.2721, allocations: 8.031 kB / 1.088 GB, free: 5.363 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.734e-05/0.2722, allocations: 78.66 kB / 1.088 GB, free: 5.277 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000218/0.2724, allocations: 198.4 kB / 1.088 GB, free: 5.082 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002035/0.2744, allocations: 1.575 MB / 1.09 GB, free: 3.438 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.993e-05/0.2745, allocations: 29 kB / 1.09 GB, free: 3.406 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.485e-05/0.2745, allocations: 39.98 kB / 1.09 GB, free: 3.367 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006269/0.2752, allocations: 446.3 kB / 1.09 GB, free: 2.93 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2752, allocations: 7.938 kB / 1.091 GB, free: 2.922 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/0.2752, allocations: 12 kB / 1.091 GB, free: 2.91 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.582e-05/0.2753, allocations: 21 kB / 1.091 GB, free: 2.891 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005984/0.2759, allocations: 435.5 kB / 1.091 GB, free: 2.461 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002738/0.2786, allocations: 2.327 MB / 1.093 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009091/0.2795, allocations: 0.5007 MB / 1.094 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002608/0.2798, allocations: 201.3 kB / 1.094 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.2798, allocations: 4.281 kB / 1.094 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.2799, allocations: 34.84 kB / 1.094 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=34): time 1.322e-06/0.2799, allocations: 0 / 1.094 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34): time 0.0008771/0.2807, allocations: 0.6453 MB / 1.095 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.2808, allocations: 55.41 kB / 1.095 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00296/0.2838, allocations: 2.583 MB / 1.097 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.2838, allocations: 29.7 kB / 1.097 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.00072/0.2845, allocations: 0.7682 MB / 1.098 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.721e-05/0.2846, allocations: 118.3 kB / 1.098 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.2847, allocations: 69.61 kB / 1.098 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.2849, allocations: 322.5 kB / 1.098 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.2851, allocations: 135.9 kB / 1.099 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.2853, allocations: 182.3 kB / 1.099 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004248/0.2857, allocations: 317.1 kB / 1.099 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2857, allocations: 0 / 1.099 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006629/0.2864, allocations: 0.5301 MB / 1.1 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.2864, allocations: 8 kB / 1.1 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2864, allocations: 4.031 kB / 1.1 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.2864, allocations: 0 / 1.1 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/0.2867, allocations: 79.89 kB / 1.1 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.2868, allocations: 4 kB / 1.1 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002899/0.2871, allocations: 27.69 kB / 1.1 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.2871, allocations: 8 kB / 1.1 GB, free: 9.277 MB / 0.8575 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.0007131/0.2878, allocations: 0.6886 MB / 1.1 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/0.288, allocations: 189.5 kB / 1.101 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002742/0.2883, allocations: 219.2 kB / 1.101 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.2883, allocations: 4 kB / 1.101 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2883, allocations: 0 / 1.101 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.2883, allocations: 4 kB / 1.101 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001842/0.2902, allocations: 1.574 MB / 1.102 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2902, allocations: 4 kB / 1.102 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/0.2904, allocations: 75.89 kB / 1.102 GB, free: 6.445 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.2905, allocations: 12.03 kB / 1.102 GB, free: 6.434 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.2905, allocations: 8 kB / 1.102 GB, free: 6.426 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.2905, allocations: 7.875 kB / 1.102 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.2905, allocations: 7.922 kB / 1.102 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006907/0.2912, allocations: 0.6358 MB / 1.103 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004773/0.2917, allocations: 382.5 kB / 1.103 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.2918, allocations: 4 kB / 1.103 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003469/0.2922, allocations: 15.92 kB / 1.103 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.2922, allocations: 23.92 kB / 1.103 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.2922, allocations: 4 kB / 1.103 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002198/0.2944, allocations: 1.851 MB / 1.105 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2944, allocations: 0 / 1.105 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005262/0.295, allocations: 227.8 kB / 1.105 GB, free: 3.215 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.001211/0.2962, allocations: 1.268 MB / 1.107 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005889/0.2968, allocations: 399.5 kB / 1.107 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2968, allocations: 0 / 1.107 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.297, allocations: 171.8 kB / 1.107 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001946/0.299, allocations: 0.6148 MB / 1.108 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01854/0.3175, allocations: 16.56 MB / 1.124 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/0.3189, allocations: 1.754 MB / 1.126 GB, free: 13.58 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006338/0.3195, allocations: 322.9 kB / 1.126 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000675/0.3202, allocations: 0.593 MB / 1.127 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of SimCode: time 2.61e-07/0.3202, allocations: 0 / 1.127 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.616/2.936, allocations: 39.31 MB / 1.165 GB, free: 5.883 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.08/19.01, allocations: 22.41 kB / 1.165 GB, free: 5.867 MB / 0.92 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