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.00592/0.00592, allocations: 103.3 kB / 15.73 MB, free: 6.039 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.001351/0.001351, allocations: 187.8 kB / 16.67 MB, free: 5.957 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.094/2.094, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 63.91 kB / 0.9505 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7026/0.704, allocations: 140.4 MB / 1.088 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.006908/0.7109, allocations: 7.331 MB / 1.095 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.00797/0.7189, allocations: 5.194 MB / 1.1 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001474/0.7205, allocations: 56.62 kB / 1.1 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004701/0.7252, allocations: 1.678 MB / 1.102 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002081/0.7273, allocations: 0.6069 MB / 1.102 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008858/0.7282, allocations: 224.3 kB / 1.102 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002689/0.7309, allocations: 1.757 MB / 1.104 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009143/0.7318, allocations: 0.5846 MB / 1.105 GB, free: 9.82 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.7331, allocations: 0.7064 MB / 1.105 GB, free: 9.504 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.7343, allocations: 0.8091 MB / 1.106 GB, free: 9.113 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001642/0.7345, allocations: 79.47 kB / 1.106 GB, free: 9.113 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005473/0.735, allocations: 199.4 kB / 1.106 GB, free: 9.078 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003483/0.7354, allocations: 334.7 kB / 1.107 GB, free: 8.902 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000797/0.7362, allocations: 0.7864 MB / 1.107 GB, free: 8.391 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002811/0.739, allocations: 2.423 MB / 1.11 GB, free: 7.484 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.739, allocations: 0.7031 kB / 1.11 GB, free: 7.484 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.703e-06/0.739, allocations: 0 / 1.11 GB, free: 7.484 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.535e-05/0.7391, allocations: 0 / 1.11 GB, free: 7.484 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.003846/0.7429, allocations: 2.26 MB / 1.112 GB, free: 5.973 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.743, allocations: 8.906 kB / 1.112 GB, free: 5.973 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.207e-05/0.7431, allocations: 78.73 kB / 1.112 GB, free: 5.91 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002799/0.7434, allocations: 199.6 kB / 1.112 GB, free: 5.805 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003269/0.7466, allocations: 1.673 MB / 1.114 GB, free: 4.926 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.7467, allocations: 32.41 kB / 1.114 GB, free: 4.91 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.468e-05/0.7467, allocations: 39.86 kB / 1.114 GB, free: 4.895 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007364/0.7475, allocations: 446.2 kB / 1.114 GB, free: 4.734 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.7475, allocations: 0 / 1.114 GB, free: 4.734 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/0.7475, allocations: 11.72 kB / 1.114 GB, free: 4.727 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.457e-05/0.7476, allocations: 24.34 kB / 1.114 GB, free: 4.719 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006263/0.7482, allocations: 425.7 kB / 1.115 GB, free: 4.609 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003631/0.7519, allocations: 2.299 MB / 1.117 GB, free: 3.297 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009604/0.7528, allocations: 0.503 MB / 1.118 GB, free: 3.145 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002831/0.7531, allocations: 208.3 kB / 1.118 GB, free: 3.078 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.7532, allocations: 7.578 kB / 1.118 GB, free: 3.074 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.7532, allocations: 34.02 kB / 1.118 GB, free: 3.035 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=34): time 2.054e-06/0.7532, allocations: 1.312 kB / 1.118 GB, free: 3.035 MB / 0.8731 GB Notification: Performance of matching and sorting (n=34): time 0.001049/0.7542, allocations: 0.6447 MB / 1.118 GB, free: 2.77 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.7543, allocations: 56.39 kB / 1.119 GB, free: 2.707 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003495/0.7578, allocations: 2.552 MB / 1.121 GB, free: 1.879 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.162e-05/0.7579, allocations: 32.11 kB / 1.121 GB, free: 1.844 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007245/0.7586, allocations: 0.7685 MB / 1.122 GB, free: 1.238 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.821e-05/0.7587, allocations: 115.2 kB / 1.122 GB, free: 1.148 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.7588, allocations: 68.22 kB / 1.122 GB, free: 1.109 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.7589, allocations: 322.4 kB / 1.122 GB, free: 0.7969 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.7592, allocations: 138.5 kB / 1.122 GB, free: 0.7578 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.7594, allocations: 177.2 kB / 1.123 GB, free: 0.6953 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004269/0.7598, allocations: 321.8 kB / 1.123 GB, free: 0.5859 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.7598, allocations: 4.641 kB / 1.123 GB, free: 0.582 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008244/0.7607, allocations: 0.5296 MB / 1.123 GB, free: 360 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.7607, allocations: 5.734 kB / 1.123 GB, free: 360 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.7607, allocations: 5.062 kB / 1.123 GB, free: 356 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.7607, allocations: 1.281 kB / 1.123 GB, free: 356 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/0.7611, allocations: 80.56 kB / 1.123 GB, free: 348 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.7611, allocations: 1.75 kB / 1.123 GB, free: 348 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00055/0.7616, allocations: 28 kB / 1.124 GB, free: 328 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.7617, allocations: 5.969 kB / 1.124 GB, free: 328 kB / 0.8731 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.0008348/0.7625, allocations: 0.6947 MB / 1.124 GB, free: 16 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002402/0.7627, allocations: 183.4 kB / 1.124 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003172/0.7631, allocations: 218.5 kB / 1.125 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.7631, allocations: 3.094 kB / 1.125 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/0.7631, allocations: 1.406 kB / 1.125 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.7631, allocations: 2.156 kB / 1.125 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00238/0.7655, allocations: 1.571 MB / 1.126 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.7655, allocations: 1.094 kB / 1.126 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002918/0.7658, allocations: 78.22 kB / 1.126 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.7658, allocations: 2.094 kB / 1.126 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.7658, allocations: 6.312 kB / 1.126 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.7659, allocations: 6.922 kB / 1.126 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.7659, allocations: 6.281 kB / 1.126 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007564/0.7666, allocations: 0.6365 MB / 1.127 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000715/0.7673, allocations: 372.3 kB / 1.127 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.7675, allocations: 11.58 kB / 1.127 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003755/0.7679, allocations: 7.453 kB / 1.127 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.7679, allocations: 25.31 kB / 1.127 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.768, allocations: 14.16 kB / 1.127 GB, free: 14.42 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002644/0.7706, allocations: 1.834 MB / 1.129 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7706, allocations: 0 / 1.129 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007946/0.7714, allocations: 228.5 kB / 1.129 GB, free: 13.77 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.001311/0.7727, allocations: 1.256 MB / 1.13 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005622/0.7733, allocations: 332.3 kB / 1.131 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7733, allocations: 1.062 kB / 1.131 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002312/0.7736, allocations: 172.1 kB / 1.131 GB, free: 12.72 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002342/0.7759, allocations: 0.6301 MB / 1.132 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0229/0.7988, allocations: 14.8 MB / 1.146 GB, free: 6.949 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001996/0.8009, allocations: 1.758 MB / 1.148 GB, free: 6.035 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001046/0.8019, allocations: 314.3 kB / 1.148 GB, free: 5.996 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000849/0.8028, allocations: 0.5938 MB / 1.149 GB, free: 5.52 MB / 0.8887 GB Notification: Performance of SimCode: time 6.91e-07/0.8028, allocations: 0 / 1.149 GB, free: 5.52 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.442/3.245, allocations: 40.25 MB / 1.188 GB, free: 7.172 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/15.13, allocations: 8.5 kB / 1.188 GB, free: 7.164 MB / 0.92 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