Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_9_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.007437/0.007438, allocations: 101.8 kB / 15.73 MB, free: 6.477 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.001805/0.001805, allocations: 192.4 kB / 16.67 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.293/2.293, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 59.41 kB / 0.9505 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.248, allocations: 140.4 MB / 1.088 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.007802/0.2559, allocations: 7.337 MB / 1.095 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00677/0.2627, allocations: 5.194 MB / 1.1 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001094/0.2638, allocations: 47.69 kB / 1.1 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004056/0.2679, allocations: 1.683 MB / 1.101 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.2696, allocations: 0.6049 MB / 1.102 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008161/0.2704, allocations: 230.8 kB / 1.102 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002075/0.2725, allocations: 1.756 MB / 1.104 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007118/0.2732, allocations: 0.5892 MB / 1.105 GB, free: 404 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008481/0.2741, allocations: 0.6725 MB / 1.105 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009427/0.2751, allocations: 0.8045 MB / 1.106 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001695/0.2753, allocations: 80 kB / 1.106 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004869/0.2757, allocations: 203.8 kB / 1.106 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002977/0.2761, allocations: 330.5 kB / 1.107 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007398/0.2768, allocations: 0.7843 MB / 1.107 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002266/0.2791, allocations: 2.429 MB / 1.11 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2791, allocations: 0 / 1.11 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2791, allocations: 0 / 1.11 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.806e-05/0.2792, allocations: 4 kB / 1.11 GB, free: 11.08 MB / 0.8731 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.003039/0.2822, allocations: 2.261 MB / 1.112 GB, free: 8.75 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.2823, allocations: 8.031 kB / 1.112 GB, free: 8.742 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.997e-05/0.2823, allocations: 74.72 kB / 1.112 GB, free: 8.66 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002521/0.2826, allocations: 202.3 kB / 1.112 GB, free: 8.461 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002574/0.2852, allocations: 1.68 MB / 1.114 GB, free: 6.711 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.2852, allocations: 29 kB / 1.114 GB, free: 6.68 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.711e-05/0.2853, allocations: 32 kB / 1.114 GB, free: 6.648 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006476/0.286, allocations: 450.3 kB / 1.114 GB, free: 6.203 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.286, allocations: 4 kB / 1.114 GB, free: 6.199 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.502e-05/0.286, allocations: 12 kB / 1.114 GB, free: 6.188 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-05/0.2861, allocations: 24.92 kB / 1.114 GB, free: 6.164 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005698/0.2866, allocations: 423.7 kB / 1.115 GB, free: 5.746 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003246/0.2899, allocations: 2.299 MB / 1.117 GB, free: 3.297 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009184/0.2908, allocations: 0.4967 MB / 1.118 GB, free: 2.789 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002635/0.2911, allocations: 205.3 kB / 1.118 GB, free: 2.586 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.2911, allocations: 288 / 1.118 GB, free: 2.586 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.2912, allocations: 38.84 kB / 1.118 GB, free: 2.539 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=34): time 2.845e-06/0.2912, allocations: 0 / 1.118 GB, free: 2.539 MB / 0.8731 GB Notification: Performance of matching and sorting (n=34): time 0.0009755/0.2922, allocations: 0.6383 MB / 1.118 GB, free: 1.895 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.2922, allocations: 63.39 kB / 1.118 GB, free: 1.82 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003228/0.2955, allocations: 2.548 MB / 1.121 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.633e-05/0.2955, allocations: 37.69 kB / 1.121 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006757/0.2962, allocations: 0.7643 MB / 1.122 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.2963, allocations: 114.3 kB / 1.122 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.2964, allocations: 69.59 kB / 1.122 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.2966, allocations: 326.5 kB / 1.122 GB, free: 13.92 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.2968, allocations: 135.9 kB / 1.122 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.297, allocations: 177.6 kB / 1.123 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004141/0.2974, allocations: 326.2 kB / 1.123 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.2974, allocations: 0 / 1.123 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007996/0.2983, allocations: 0.5262 MB / 1.123 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.2983, allocations: 4 kB / 1.123 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2983, allocations: 0 / 1.123 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.2983, allocations: 4 kB / 1.123 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003323/0.2987, allocations: 79.89 kB / 1.123 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.2987, allocations: 0 / 1.123 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004339/0.2991, allocations: 35.66 kB / 1.123 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.2991, allocations: 12 kB / 1.123 GB, free: 12.62 MB / 0.8887 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.0007756/0.2999, allocations: 0.6847 MB / 1.124 GB, free: 11.92 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002396/0.3002, allocations: 189.6 kB / 1.124 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003357/0.3005, allocations: 219.2 kB / 1.125 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3005, allocations: 4 kB / 1.125 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3005, allocations: 0 / 1.125 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3005, allocations: 0 / 1.125 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002084/0.3026, allocations: 1.574 MB / 1.126 GB, free: 9.871 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3027, allocations: 0 / 1.126 GB, free: 9.871 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.303, allocations: 79.84 kB / 1.126 GB, free: 9.793 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.303, allocations: 4 kB / 1.126 GB, free: 9.789 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.303, allocations: 7.984 kB / 1.126 GB, free: 9.781 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.303, allocations: 4 kB / 1.126 GB, free: 9.777 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.303, allocations: 3.938 kB / 1.126 GB, free: 9.773 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007694/0.3038, allocations: 0.639 MB / 1.127 GB, free: 9.105 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006722/0.3045, allocations: 374.5 kB / 1.127 GB, free: 8.719 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001835/0.3047, allocations: 7.938 kB / 1.127 GB, free: 8.711 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004001/0.3051, allocations: 11.98 kB / 1.127 GB, free: 8.699 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.3051, allocations: 23.92 kB / 1.127 GB, free: 8.676 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.3052, allocations: 8 kB / 1.127 GB, free: 8.668 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002466/0.3076, allocations: 1.831 MB / 1.129 GB, free: 6.82 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3076, allocations: 0 / 1.129 GB, free: 6.82 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000754/0.3084, allocations: 231.8 kB / 1.129 GB, free: 6.594 MB / 0.8887 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.001332/0.3097, allocations: 1.247 MB / 1.13 GB, free: 5.316 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005328/0.3103, allocations: 335.6 kB / 1.131 GB, free: 4.988 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3103, allocations: 0 / 1.131 GB, free: 4.988 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002157/0.3105, allocations: 171.8 kB / 1.131 GB, free: 4.82 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002377/0.3129, allocations: 0.6259 MB / 1.132 GB, free: 4.211 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02102/0.334, allocations: 14.82 MB / 1.146 GB, free: 5.176 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001486/0.3355, allocations: 1.761 MB / 1.148 GB, free: 3.379 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0009475/0.3365, allocations: 311.3 kB / 1.148 GB, free: 3.07 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008088/0.3373, allocations: 0.5852 MB / 1.149 GB, free: 2.484 MB / 0.9044 GB Notification: Performance of SimCode: time 1.332e-06/0.3373, allocations: 0 / 1.149 GB, free: 2.484 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3842/0.7215, allocations: 39.8 MB / 1.187 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.76, allocations: 7.641 kB / 1.187 GB, free: 11.18 MB / 0.9512 GB (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches