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.006951/0.006951, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001896/0.001896, allocations: 197.6 kB / 16.68 MB, free: 5.977 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.331/1.331, 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 10.1.1-maint.10.0.x/package.mo): time 2.299/2.299, allocations: 437.1 MB / 0.7106 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 67.91 kB / 1.018 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2409, allocations: 151.6 MB / 1.166 GB, free: 7.133 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.007456/0.2484, allocations: 7.342 MB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00548/0.2539, allocations: 5.196 MB / 1.179 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004108/0.2543, allocations: 43.75 kB / 1.179 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003157/0.2575, allocations: 1.695 MB / 1.18 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.2585, allocations: 0.5972 MB / 1.181 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004769/0.259, allocations: 227.5 kB / 1.181 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00152/0.2605, allocations: 1.756 MB / 1.183 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005974/0.2611, allocations: 0.5775 MB / 1.183 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005831/0.2617, allocations: 0.6763 MB / 1.184 GB, free: 4.91 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007924/0.2625, allocations: 0.8045 MB / 1.185 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.2627, allocations: 80 kB / 1.185 GB, free: 4.023 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003933/0.2631, allocations: 203.8 kB / 1.185 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002843/0.2634, allocations: 326.6 kB / 1.185 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006311/0.264, allocations: 0.7843 MB / 1.186 GB, free: 2.715 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002037/0.266, allocations: 2.451 MB / 1.188 GB, free: 260 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.266, allocations: 0 / 1.188 GB, free: 260 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2661, allocations: 4 kB / 1.189 GB, free: 256 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.2661, allocations: 0 / 1.189 GB, free: 256 kB / 0.9356 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.002537/0.2686, allocations: 2.319 MB / 1.191 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.2687, allocations: 8.031 kB / 1.191 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.399e-05/0.2687, allocations: 78.72 kB / 1.191 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002104/0.2689, allocations: 211.5 kB / 1.191 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002115/0.2711, allocations: 1.694 MB / 1.193 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.2711, allocations: 29 kB / 1.193 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/0.2712, allocations: 39.92 kB / 1.193 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006091/0.2718, allocations: 450.3 kB / 1.193 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.2718, allocations: 0 / 1.193 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.419e-05/0.2718, allocations: 16 kB / 1.193 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.711e-05/0.2719, allocations: 28.98 kB / 1.193 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005571/0.2724, allocations: 423.7 kB / 1.194 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002524/0.275, allocations: 2.3 MB / 1.196 GB, free: 8.379 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008599/0.2758, allocations: 0.4972 MB / 1.196 GB, free: 7.871 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/0.2761, allocations: 205.2 kB / 1.197 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.2761, allocations: 288 / 1.197 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.2761, allocations: 42.83 kB / 1.197 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=34): time 9.52e-07/0.2762, allocations: 0 / 1.197 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of matching and sorting (n=34): time 0.0008471/0.277, allocations: 0.6542 MB / 1.197 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.277, allocations: 59.34 kB / 1.197 GB, free: 6.887 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002805/0.2799, allocations: 2.556 MB / 1.2 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.2799, allocations: 33.7 kB / 1.2 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006776/0.2806, allocations: 0.7607 MB / 1.201 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.297e-05/0.2807, allocations: 122.9 kB / 1.201 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.2808, allocations: 65.66 kB / 1.201 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.2809, allocations: 326.4 kB / 1.201 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.2811, allocations: 143.8 kB / 1.201 GB, free: 2.84 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.2813, allocations: 174.8 kB / 1.201 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004098/0.2817, allocations: 329.1 kB / 1.202 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2817, allocations: 0 / 1.202 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006264/0.2824, allocations: 0.5312 MB / 1.202 GB, free: 1.801 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.2824, allocations: 4 kB / 1.202 GB, free: 1.797 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.2824, allocations: 4 kB / 1.202 GB, free: 1.793 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.2824, allocations: 0 / 1.202 GB, free: 1.793 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002847/0.2827, allocations: 79.92 kB / 1.202 GB, free: 1.715 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2827, allocations: 3.984 kB / 1.202 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/0.283, allocations: 35.73 kB / 1.202 GB, free: 1.676 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.283, allocations: 11.98 kB / 1.202 GB, free: 1.664 MB / 0.9512 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.0006846/0.2837, allocations: 0.6886 MB / 1.203 GB, free: 0.9648 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001918/0.2839, allocations: 198.7 kB / 1.203 GB, free: 0.7695 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/0.2842, allocations: 211.2 kB / 1.203 GB, free: 0.5586 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2842, allocations: 4 kB / 1.203 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2842, allocations: 0 / 1.203 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2842, allocations: 7.984 kB / 1.203 GB, free: 0.5469 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/0.286, allocations: 1.57 MB / 1.205 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.286, allocations: 4 kB / 1.205 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.2862, allocations: 71.89 kB / 1.205 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.2862, allocations: 4 kB / 1.205 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.2863, allocations: 7.938 kB / 1.205 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.2863, allocations: 8.094 kB / 1.205 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.2863, allocations: 3.938 kB / 1.205 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006426/0.2869, allocations: 0.6486 MB / 1.206 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000439/0.2874, allocations: 383.6 kB / 1.206 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.2875, allocations: 4 kB / 1.206 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003281/0.2878, allocations: 19.98 kB / 1.206 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.2879, allocations: 31.84 kB / 1.206 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.2879, allocations: 8 kB / 1.206 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002048/0.29, allocations: 1.827 MB / 1.208 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.29, allocations: 0 / 1.208 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004803/0.2905, allocations: 227.8 kB / 1.208 GB, free: 11.61 MB / 0.9669 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.001144/0.2916, allocations: 1.27 MB / 1.209 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004496/0.2921, allocations: 331.8 kB / 1.21 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2921, allocations: 4 kB / 1.21 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002082/0.2923, allocations: 176 kB / 1.21 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001836/0.2941, allocations: 0.6241 MB / 1.21 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01624/0.3104, allocations: 14.87 MB / 1.225 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/0.3116, allocations: 1.754 MB / 1.227 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0005582/0.3122, allocations: 315.3 kB / 1.227 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006255/0.3128, allocations: 0.5999 MB / 1.228 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3128, allocations: 0 / 1.228 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.627/1.94, allocations: 39.77 MB / 1.266 GB, free: 76.97 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.43/21.37, allocations: 5.578 kB / 1.266 GB, free: 76.96 MB / 0.9981 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=400 --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