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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001992/0.001992, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.434/2.434, allocations: 443.5 MB / 0.7287 GB, free: 14.48 MB / 0.5762 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 67.89 kB / 1.056 GB, free: 2.34 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2963, allocations: 160.7 MB / 1.213 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.008613/0.305, allocations: 7.38 MB / 1.22 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.007364/0.3123, allocations: 5.207 MB / 1.225 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.3134, allocations: 55.75 kB / 1.225 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004086/0.3175, allocations: 1.695 MB / 1.227 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001465/0.3189, allocations: 0.6049 MB / 1.228 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006672/0.3196, allocations: 227.5 kB / 1.228 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00188/0.3215, allocations: 1.764 MB / 1.23 GB, free: 296 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005765/0.3221, allocations: 419.5 kB / 1.23 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007309/0.3228, allocations: 0.7036 MB / 1.231 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009076/0.3237, allocations: 0.8317 MB / 1.231 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.3238, allocations: 80 kB / 1.232 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004155/0.3242, allocations: 207.8 kB / 1.232 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003117/0.3246, allocations: 338.4 kB / 1.232 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006821/0.3252, allocations: 0.7843 MB / 1.233 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002372/0.3276, allocations: 2.466 MB / 1.235 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3276, allocations: 4 kB / 1.235 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3276, allocations: 0 / 1.235 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.777e-05/0.3276, allocations: 0 / 1.235 GB, free: 10.43 MB / 0.9825 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.003167/0.3308, allocations: 2.323 MB / 1.237 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.3308, allocations: 15.97 kB / 1.237 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.076e-05/0.3309, allocations: 78.7 kB / 1.238 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002322/0.3312, allocations: 215.5 kB / 1.238 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002691/0.3339, allocations: 1.694 MB / 1.239 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.3339, allocations: 29 kB / 1.239 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.071e-05/0.3339, allocations: 32 kB / 1.239 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006708/0.3346, allocations: 450.3 kB / 1.24 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.3346, allocations: 0 / 1.24 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/0.3347, allocations: 16 kB / 1.24 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-05/0.3347, allocations: 20.98 kB / 1.24 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006177/0.3353, allocations: 431.6 kB / 1.24 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003155/0.3385, allocations: 2.3 MB / 1.243 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009323/0.3394, allocations: 497.1 kB / 1.243 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002728/0.3397, allocations: 189.3 kB / 1.243 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.3397, allocations: 4.281 kB / 1.243 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.3397, allocations: 34.84 kB / 1.243 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=34): time 1.393e-06/0.3397, allocations: 0 / 1.243 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34): time 0.0009346/0.3407, allocations: 0.6541 MB / 1.244 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.3407, allocations: 55.41 kB / 1.244 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003106/0.3438, allocations: 2.559 MB / 1.246 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.3438, allocations: 33.7 kB / 1.247 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007342/0.3446, allocations: 0.7607 MB / 1.247 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.339e-05/0.3447, allocations: 118.9 kB / 1.247 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.3448, allocations: 69.66 kB / 1.247 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.3449, allocations: 322.5 kB / 1.248 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.3451, allocations: 139.8 kB / 1.248 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.3454, allocations: 178.3 kB / 1.248 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004436/0.3458, allocations: 332.6 kB / 1.248 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3458, allocations: 0 / 1.248 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006924/0.3465, allocations: 0.5356 MB / 1.249 GB, free: 12 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3465, allocations: 4 kB / 1.249 GB, free: 12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.3465, allocations: 4 kB / 1.249 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3465, allocations: 0 / 1.249 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003061/0.3468, allocations: 79.83 kB / 1.249 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.3469, allocations: 0 / 1.249 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003203/0.3472, allocations: 39.72 kB / 1.249 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.3472, allocations: 12 kB / 1.249 GB, free: 11.86 MB / 0.9981 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.0007467/0.3479, allocations: 0.6886 MB / 1.25 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.3481, allocations: 198.7 kB / 1.25 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002964/0.3484, allocations: 211.2 kB / 1.25 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.3484, allocations: 4 kB / 1.25 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3485, allocations: 3.938 kB / 1.25 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.3485, allocations: 3.984 kB / 1.25 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002088/0.3505, allocations: 1.574 MB / 1.252 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.3506, allocations: 4 kB / 1.252 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002723/0.3508, allocations: 67.95 kB / 1.252 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.3508, allocations: 7.938 kB / 1.252 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.3508, allocations: 4 kB / 1.252 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.3509, allocations: 8 kB / 1.252 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.3509, allocations: 3.938 kB / 1.252 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007105/0.3516, allocations: 0.6488 MB / 1.252 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006538/0.3522, allocations: 379.6 kB / 1.253 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.3524, allocations: 8 kB / 1.253 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003548/0.3527, allocations: 7.984 kB / 1.253 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.3528, allocations: 31.84 kB / 1.253 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.3528, allocations: 12 kB / 1.253 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002281/0.3551, allocations: 1.827 MB / 1.255 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3551, allocations: 0 / 1.255 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005671/0.3556, allocations: 227.8 kB / 1.255 GB, free: 5.816 MB / 0.9981 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.001319/0.3569, allocations: 1.264 MB / 1.256 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005185/0.3575, allocations: 315.6 kB / 1.256 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3575, allocations: 4 kB / 1.256 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.3577, allocations: 168 kB / 1.256 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002014/0.3597, allocations: 0.6426 MB / 1.257 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5539/0.9136, allocations: 14.86 MB / 1.272 GB, free: 45.91 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001583/0.9152, allocations: 1.756 MB / 1.273 GB, free: 45.16 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009203/0.9161, allocations: 310 kB / 1.274 GB, free: 45.14 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006085/0.9167, allocations: 0.5925 MB / 1.274 GB, free: 44.68 MB / 0.9981 GB Notification: Performance of SimCode: time 1.163e-06/0.9167, allocations: 0 / 1.274 GB, free: 44.68 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0841/1.001, allocations: 39.96 MB / 1.313 GB, free: 33.21 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/11.57, allocations: 11.77 kB / 1.313 GB, free: 33.21 MB / 0.9981 GB " [Timeout remaining time 288] (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 --stepSize=0.0004 --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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.275560936890543]