Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 211.3 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.411/1.411, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.044/3.044, allocations: 0.49 GB / 0.7959 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 73.33 kB / 1.155 GB, free: 25.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3292, allocations: 176.1 MB / 1.327 GB, free: 1.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.008882/0.3381, allocations: 7.422 MB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007695/0.3458, allocations: 5.254 MB / 1.339 GB, free: 5.121 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/0.347, allocations: 67.5 kB / 1.339 GB, free: 5.055 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004451/0.3515, allocations: 1.726 MB / 1.341 GB, free: 3.32 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001817/0.3533, allocations: 0.6166 MB / 1.341 GB, free: 2.699 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008445/0.3542, allocations: 232.8 kB / 1.342 GB, free: 2.477 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00248/0.3566, allocations: 1.764 MB / 1.343 GB, free: 0.707 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004677/0.3571, allocations: 228 kB / 1.344 GB, free: 468 kB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.3581, allocations: 0.7309 MB / 1.344 GB, free: 15.72 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/0.3593, allocations: 0.8318 MB / 1.345 GB, free: 14.89 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001671/0.3594, allocations: 83.94 kB / 1.345 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005319/0.36, allocations: 223.7 kB / 1.345 GB, free: 14.59 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003394/0.3603, allocations: 334.4 kB / 1.346 GB, free: 14.26 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000775/0.3611, allocations: 0.796 MB / 1.347 GB, free: 13.46 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002688/0.3638, allocations: 2.455 MB / 1.349 GB, free: 10.99 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3638, allocations: 0 / 1.349 GB, free: 10.99 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3638, allocations: 0 / 1.349 GB, free: 10.99 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.836e-05/0.3638, allocations: 0 / 1.349 GB, free: 10.99 MB / 1.045 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.003356/0.3672, allocations: 2.265 MB / 1.351 GB, free: 8.68 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3672, allocations: 8.031 kB / 1.351 GB, free: 8.672 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.848e-05/0.3672, allocations: 21.12 kB / 1.351 GB, free: 8.652 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.886e-05/0.3673, allocations: 78.72 kB / 1.351 GB, free: 8.566 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002897/0.3676, allocations: 207.6 kB / 1.351 GB, free: 8.363 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002638/0.3702, allocations: 1.61 MB / 1.353 GB, free: 6.695 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.3703, allocations: 25 kB / 1.353 GB, free: 6.672 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.966e-05/0.3703, allocations: 39.98 kB / 1.353 GB, free: 6.633 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007004/0.371, allocations: 450.3 kB / 1.354 GB, free: 6.191 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.371, allocations: 0 / 1.354 GB, free: 6.191 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.467e-05/0.3711, allocations: 12 kB / 1.354 GB, free: 6.18 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.707e-05/0.3711, allocations: 20.98 kB / 1.354 GB, free: 6.156 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006156/0.3717, allocations: 431.6 kB / 1.354 GB, free: 5.734 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003196/0.3749, allocations: 2.269 MB / 1.356 GB, free: 3.312 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009344/0.3759, allocations: 488.1 kB / 1.357 GB, free: 2.824 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002859/0.3762, allocations: 193.3 kB / 1.357 GB, free: 2.633 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.3762, allocations: 12.27 kB / 1.357 GB, free: 2.621 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.3762, allocations: 34.84 kB / 1.357 GB, free: 2.578 MB / 1.045 GB Notification: Performance of pre-optimization done (n=34): time 1.653e-06/0.3762, allocations: 0 / 1.357 GB, free: 2.578 MB / 1.045 GB Notification: Performance of matching and sorting (n=34): time 0.001016/0.3772, allocations: 0.658 MB / 1.358 GB, free: 1.914 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.3773, allocations: 55.41 kB / 1.358 GB, free: 1.848 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003307/0.3806, allocations: 2.552 MB / 1.36 GB, free: 15.26 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.616e-05/0.3806, allocations: 33.7 kB / 1.36 GB, free: 15.22 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008019/0.3814, allocations: 0.7607 MB / 1.361 GB, free: 14.46 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.3815, allocations: 130.9 kB / 1.361 GB, free: 14.33 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.3817, allocations: 65.66 kB / 1.361 GB, free: 14.26 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.3818, allocations: 322.5 kB / 1.361 GB, free: 13.94 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.382, allocations: 139.9 kB / 1.361 GB, free: 13.8 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.3823, allocations: 177.4 kB / 1.362 GB, free: 13.62 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000449/0.3827, allocations: 321.1 kB / 1.362 GB, free: 13.31 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3827, allocations: 0 / 1.362 GB, free: 13.31 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007804/0.3835, allocations: 0.5391 MB / 1.362 GB, free: 12.76 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3835, allocations: 4 kB / 1.362 GB, free: 12.76 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.3835, allocations: 0 / 1.362 GB, free: 12.76 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.3835, allocations: 7.938 kB / 1.362 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003407/0.3839, allocations: 83.83 kB / 1.363 GB, free: 12.67 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.3839, allocations: 0 / 1.363 GB, free: 12.67 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/0.3843, allocations: 35.72 kB / 1.363 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.3843, allocations: 4 kB / 1.363 GB, free: 12.63 MB / 1.061 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.0007933/0.3851, allocations: 0.6931 MB / 1.363 GB, free: 11.93 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002119/0.3853, allocations: 194.7 kB / 1.363 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003057/0.3856, allocations: 219.2 kB / 1.364 GB, free: 11.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.3856, allocations: 4 kB / 1.364 GB, free: 11.51 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3856, allocations: 0 / 1.364 GB, free: 11.51 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.3856, allocations: 3.984 kB / 1.364 GB, free: 11.51 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002055/0.3877, allocations: 1.542 MB / 1.365 GB, free: 9.902 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3877, allocations: 96 / 1.365 GB, free: 9.902 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002939/0.388, allocations: 83.89 kB / 1.365 GB, free: 9.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.388, allocations: 4 kB / 1.365 GB, free: 9.816 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.388, allocations: 8 kB / 1.365 GB, free: 9.809 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.388, allocations: 7.938 kB / 1.365 GB, free: 9.801 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.388, allocations: 3.938 kB / 1.365 GB, free: 9.797 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007375/0.3887, allocations: 0.6398 MB / 1.366 GB, free: 9.129 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000584/0.3893, allocations: 310.5 kB / 1.366 GB, free: 8.824 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.3895, allocations: 8 kB / 1.366 GB, free: 8.816 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003743/0.3898, allocations: 15.92 kB / 1.366 GB, free: 8.801 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.3899, allocations: 15.97 kB / 1.366 GB, free: 8.785 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.3899, allocations: 12 kB / 1.366 GB, free: 8.773 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002432/0.3923, allocations: 1.831 MB / 1.368 GB, free: 6.926 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3923, allocations: 7.938 kB / 1.368 GB, free: 6.918 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006497/0.393, allocations: 235.7 kB / 1.368 GB, free: 6.688 MB / 1.061 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.001423/0.3944, allocations: 1.268 MB / 1.37 GB, free: 5.391 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005532/0.395, allocations: 319.6 kB / 1.37 GB, free: 5.078 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.395, allocations: 3.938 kB / 1.37 GB, free: 5.074 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.3952, allocations: 171.6 kB / 1.37 GB, free: 4.906 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/0.3974, allocations: 0.6286 MB / 1.371 GB, free: 4.293 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0206/0.418, allocations: 14.88 MB / 1.385 GB, free: 5.191 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001442/0.4194, allocations: 1.758 MB / 1.387 GB, free: 3.398 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008629/0.4203, allocations: 311.3 kB / 1.387 GB, free: 3.09 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007316/0.421, allocations: 0.5891 MB / 1.388 GB, free: 2.5 MB / 1.076 GB Notification: Performance of SimCode: time 1.072e-06/0.421, allocations: 0 / 1.388 GB, free: 2.5 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08049/0.5015, allocations: 40.25 MB / 1.427 GB, free: 10.79 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.07, allocations: 8.047 kB / 1.427 GB, free: 10.79 MB / 1.123 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat --tempDir=temp_Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 20.890095099050086]