Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001744/0.001744, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.00222/0.00222, allocations: 224.3 kB / 23.03 MB, free: 4.945 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.401/1.401, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.661/2.661, allocations: 476.8 MB / 0.7715 GB, free: 3.926 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_11_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.001959/0.001959, allocations: 69.58 kB / 1.118 GB, free: 39.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2939, allocations: 170 MB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.008176/0.302, allocations: 6.497 MB / 1.291 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007052/0.3091, allocations: 4.709 MB / 1.295 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.3101, allocations: 75.44 kB / 1.295 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004117/0.3142, allocations: 1.584 MB / 1.297 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001562/0.3158, allocations: 0.6283 MB / 1.297 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007689/0.3166, allocations: 226.1 kB / 1.298 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002125/0.3187, allocations: 1.755 MB / 1.299 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004307/0.3191, allocations: 232 kB / 1.3 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009015/0.32, allocations: 0.7309 MB / 1.3 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.3211, allocations: 0.8317 MB / 1.301 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001599/0.3212, allocations: 80 kB / 1.301 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005125/0.3217, allocations: 211.8 kB / 1.301 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000338/0.3221, allocations: 338.4 kB / 1.302 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006366/0.3227, allocations: 0.5746 MB / 1.302 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002466/0.3252, allocations: 2.466 MB / 1.305 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3252, allocations: 0 / 1.305 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3252, allocations: 0 / 1.305 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.784e-05/0.3252, allocations: 0 / 1.305 GB, free: 5.672 MB / 0.9981 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.003061/0.3283, allocations: 2.263 MB / 1.307 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.3283, allocations: 12.03 kB / 1.307 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.414e-05/0.3283, allocations: 9.188 kB / 1.307 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.2e-05/0.3284, allocations: 74.72 kB / 1.307 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002643/0.3287, allocations: 211.6 kB / 1.307 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002544/0.3312, allocations: 1.614 MB / 1.309 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.3313, allocations: 29 kB / 1.309 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.441e-05/0.3313, allocations: 43.97 kB / 1.309 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007194/0.332, allocations: 464 kB / 1.309 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.3321, allocations: 3.938 kB / 1.309 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.931e-05/0.3321, allocations: 16 kB / 1.309 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.432e-05/0.3321, allocations: 20.98 kB / 1.309 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006278/0.3328, allocations: 431.6 kB / 1.31 GB, free: 384 kB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002824/0.3356, allocations: 1.773 MB / 1.311 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009459/0.3365, allocations: 493.3 kB / 1.312 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002755/0.3368, allocations: 197.3 kB / 1.312 GB, free: 13.86 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.3368, allocations: 4.281 kB / 1.312 GB, free: 13.86 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.3369, allocations: 38.78 kB / 1.312 GB, free: 13.81 MB / 1.014 GB Notification: Performance of pre-optimization done (n=34): time 1.783e-06/0.3369, allocations: 0 / 1.312 GB, free: 13.81 MB / 1.014 GB Notification: Performance of matching and sorting (n=34): time 0.0009637/0.3378, allocations: 0.6548 MB / 1.313 GB, free: 13.15 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.3379, allocations: 55.41 kB / 1.313 GB, free: 13.08 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003178/0.341, allocations: 2.552 MB / 1.315 GB, free: 10.5 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/0.3411, allocations: 33.7 kB / 1.315 GB, free: 10.46 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007459/0.3418, allocations: 0.7646 MB / 1.316 GB, free: 9.691 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.624e-05/0.3419, allocations: 119 kB / 1.316 GB, free: 9.574 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.3421, allocations: 69.64 kB / 1.316 GB, free: 9.5 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.3422, allocations: 322.5 kB / 1.317 GB, free: 9.18 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.3424, allocations: 143.8 kB / 1.317 GB, free: 9.039 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.3427, allocations: 203.1 kB / 1.317 GB, free: 8.828 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004606/0.3431, allocations: 327.7 kB / 1.317 GB, free: 8.508 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3431, allocations: 0 / 1.317 GB, free: 8.508 MB / 1.014 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000734/0.3439, allocations: 0.5312 MB / 1.318 GB, free: 7.969 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3439, allocations: 4 kB / 1.318 GB, free: 7.965 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.3439, allocations: 11.98 kB / 1.318 GB, free: 7.953 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.3439, allocations: 3.984 kB / 1.318 GB, free: 7.949 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/0.3442, allocations: 75.91 kB / 1.318 GB, free: 7.875 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.3442, allocations: 3.984 kB / 1.318 GB, free: 7.871 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/0.3446, allocations: 27.78 kB / 1.318 GB, free: 7.844 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.3446, allocations: 8 kB / 1.318 GB, free: 7.836 MB / 1.014 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.0007697/0.3454, allocations: 0.6936 MB / 1.318 GB, free: 7.133 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/0.3456, allocations: 198.7 kB / 1.319 GB, free: 6.938 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003047/0.3459, allocations: 215.2 kB / 1.319 GB, free: 6.723 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3459, allocations: 4 kB / 1.319 GB, free: 6.719 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.3459, allocations: 0 / 1.319 GB, free: 6.719 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.3459, allocations: 3.984 kB / 1.319 GB, free: 6.715 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001959/0.3479, allocations: 1.445 MB / 1.32 GB, free: 5.207 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3479, allocations: 0 / 1.32 GB, free: 5.207 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002948/0.3482, allocations: 83.98 kB / 1.32 GB, free: 5.125 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3482, allocations: 0 / 1.32 GB, free: 5.125 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.3482, allocations: 8 kB / 1.32 GB, free: 5.117 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.3482, allocations: 11.88 kB / 1.32 GB, free: 5.105 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-06/0.3482, allocations: 0 / 1.32 GB, free: 5.105 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007312/0.3489, allocations: 0.6525 MB / 1.321 GB, free: 4.426 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005448/0.3495, allocations: 310.5 kB / 1.321 GB, free: 4.121 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/0.3496, allocations: 8 kB / 1.321 GB, free: 4.113 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000378/0.35, allocations: 15.94 kB / 1.321 GB, free: 4.098 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.3501, allocations: 19.95 kB / 1.321 GB, free: 4.078 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.3501, allocations: 8 kB / 1.321 GB, free: 4.07 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002401/0.3525, allocations: 1.835 MB / 1.323 GB, free: 2.219 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3525, allocations: 0 / 1.323 GB, free: 2.219 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006161/0.3531, allocations: 235.7 kB / 1.323 GB, free: 1.988 MB / 1.014 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.001359/0.3545, allocations: 1.254 MB / 1.325 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005285/0.355, allocations: 323.5 kB / 1.325 GB, free: 396 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.355, allocations: 0 / 1.325 GB, free: 396 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.3552, allocations: 167.8 kB / 1.325 GB, free: 228 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/0.3573, allocations: 0.6292 MB / 1.326 GB, free: 15.61 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01982/0.3772, allocations: 14.87 MB / 1.34 GB, free: 0.5156 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/0.3784, allocations: 1.17 MB / 1.341 GB, free: 15.3 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0008296/0.3793, allocations: 315.2 kB / 1.342 GB, free: 14.99 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007446/0.38, allocations: 0.593 MB / 1.342 GB, free: 14.4 MB / 1.045 GB Notification: Performance of SimCode: time 1.303e-06/0.38, allocations: 0 / 1.342 GB, free: 14.4 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07658/0.4566, allocations: 42.61 MB / 1.384 GB, free: 4.625 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/14.3, allocations: 7.938 kB / 1.384 GB, free: 4.617 MB / 1.076 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.923970262985677]