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.001613/0.001613, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001907/0.001907, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.369/1.369, allocations: 230.6 MB / 252.8 MB, free: 9.125 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 2.979/2.979, allocations: 0.49 GB / 0.7916 GB, free: 33.29 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",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.001938/0.001938, allocations: 68.39 kB / 1.149 GB, free: 26.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3168, allocations: 176.1 MB / 1.321 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.009795/0.3266, allocations: 7.387 MB / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008525/0.3351, allocations: 5.254 MB / 1.333 GB, free: 6.625 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/0.3364, allocations: 71.44 kB / 1.333 GB, free: 6.555 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004414/0.3408, allocations: 1.698 MB / 1.335 GB, free: 4.848 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001713/0.3425, allocations: 0.605 MB / 1.336 GB, free: 4.238 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008706/0.3434, allocations: 227.8 kB / 1.336 GB, free: 4.02 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002372/0.3457, allocations: 1.768 MB / 1.338 GB, free: 2.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005797/0.3463, allocations: 415.5 kB / 1.338 GB, free: 1.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008169/0.3471, allocations: 0.7231 MB / 1.339 GB, free: 1.094 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008811/0.348, allocations: 0.8318 MB / 1.339 GB, free: 264 kB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.3482, allocations: 83.98 kB / 1.34 GB, free: 180 kB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004429/0.3486, allocations: 199.8 kB / 1.34 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003014/0.3489, allocations: 338.4 kB / 1.34 GB, free: 15.65 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0006661/0.3496, allocations: 0.7883 MB / 1.341 GB, free: 14.86 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002397/0.352, allocations: 2.462 MB / 1.343 GB, free: 12.38 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.352, allocations: 0 / 1.343 GB, free: 12.38 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.302e-06/0.352, allocations: 4 kB / 1.343 GB, free: 12.38 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.716e-05/0.352, allocations: 0 / 1.343 GB, free: 12.38 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.002911/0.3549, allocations: 2.315 MB / 1.345 GB, free: 9.996 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.3549, allocations: 19.98 kB / 1.345 GB, free: 9.977 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.52e-05/0.355, allocations: 82.62 kB / 1.346 GB, free: 9.887 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002409/0.3553, allocations: 211.6 kB / 1.346 GB, free: 9.68 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002343/0.3576, allocations: 1.682 MB / 1.347 GB, free: 7.93 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.3576, allocations: 28.98 kB / 1.347 GB, free: 7.898 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.676e-05/0.3577, allocations: 40 kB / 1.347 GB, free: 7.859 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006752/0.3584, allocations: 450.3 kB / 1.348 GB, free: 7.418 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.3584, allocations: 0 / 1.348 GB, free: 7.418 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.569e-05/0.3584, allocations: 15.98 kB / 1.348 GB, free: 7.402 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.169e-05/0.3585, allocations: 24.98 kB / 1.348 GB, free: 7.379 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006168/0.3591, allocations: 427.6 kB / 1.348 GB, free: 6.957 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002872/0.3619, allocations: 2.312 MB / 1.351 GB, free: 4.496 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009431/0.3629, allocations: 480.1 kB / 1.351 GB, free: 4.016 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002803/0.3632, allocations: 197.2 kB / 1.351 GB, free: 3.82 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.3632, allocations: 8.281 kB / 1.351 GB, free: 3.812 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.3632, allocations: 34.83 kB / 1.351 GB, free: 3.77 MB / 1.045 GB Notification: Performance of pre-optimization done (n=34): time 1.362e-06/0.3632, allocations: 0 / 1.351 GB, free: 3.77 MB / 1.045 GB Notification: Performance of matching and sorting (n=34): time 0.0009341/0.3642, allocations: 0.6512 MB / 1.352 GB, free: 3.113 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.3642, allocations: 55.41 kB / 1.352 GB, free: 3.047 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003065/0.3673, allocations: 2.556 MB / 1.354 GB, free: 472 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.3673, allocations: 29.7 kB / 1.354 GB, free: 436 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007342/0.368, allocations: 0.7686 MB / 1.355 GB, free: 15.65 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.504e-05/0.3681, allocations: 126.8 kB / 1.355 GB, free: 15.53 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.3682, allocations: 69.64 kB / 1.355 GB, free: 15.45 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3684, allocations: 322.5 kB / 1.356 GB, free: 15.13 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.3686, allocations: 139.8 kB / 1.356 GB, free: 15 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.3688, allocations: 177.5 kB / 1.356 GB, free: 14.82 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004401/0.3692, allocations: 321.7 kB / 1.356 GB, free: 14.5 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3692, allocations: 0 / 1.356 GB, free: 14.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007003/0.3699, allocations: 0.5314 MB / 1.357 GB, free: 13.96 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.37, allocations: 11.98 kB / 1.357 GB, free: 13.95 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.37, allocations: 0 / 1.357 GB, free: 13.95 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.37, allocations: 0 / 1.357 GB, free: 13.95 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/0.3703, allocations: 79.89 kB / 1.357 GB, free: 13.87 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.3703, allocations: 7.938 kB / 1.357 GB, free: 13.86 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003271/0.3706, allocations: 31.73 kB / 1.357 GB, free: 13.83 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.3707, allocations: 8 kB / 1.357 GB, free: 13.82 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.000736/0.3714, allocations: 0.6925 MB / 1.358 GB, free: 13.12 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002068/0.3716, allocations: 194.7 kB / 1.358 GB, free: 12.93 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003128/0.3719, allocations: 215.2 kB / 1.358 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.3719, allocations: 4 kB / 1.358 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3719, allocations: 0 / 1.358 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.3719, allocations: 7.984 kB / 1.358 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001937/0.3739, allocations: 1.562 MB / 1.36 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3739, allocations: 4.094 kB / 1.36 GB, free: 11.06 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002897/0.3742, allocations: 79.89 kB / 1.36 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3742, allocations: 0 / 1.36 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.3742, allocations: 8 kB / 1.36 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3742, allocations: 0 / 1.36 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.3742, allocations: 7.938 kB / 1.36 GB, free: 10.97 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007135/0.3749, allocations: 0.6561 MB / 1.36 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004893/0.3754, allocations: 379.6 kB / 1.361 GB, free: 9.895 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.3755, allocations: 8 kB / 1.361 GB, free: 9.887 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003634/0.3759, allocations: 8 kB / 1.361 GB, free: 9.879 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.3759, allocations: 23.91 kB / 1.361 GB, free: 9.855 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.376, allocations: 16 kB / 1.361 GB, free: 9.84 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002249/0.3782, allocations: 1.827 MB / 1.363 GB, free: 7.996 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3782, allocations: 4 kB / 1.363 GB, free: 7.992 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005872/0.3788, allocations: 231.8 kB / 1.363 GB, free: 7.766 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.001322/0.3801, allocations: 1.265 MB / 1.364 GB, free: 6.473 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005121/0.3806, allocations: 323.8 kB / 1.364 GB, free: 6.156 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3806, allocations: 0 / 1.364 GB, free: 6.156 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.3809, allocations: 163.8 kB / 1.364 GB, free: 5.996 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/0.3829, allocations: 0.6358 MB / 1.365 GB, free: 5.375 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01894/0.4019, allocations: 14.88 MB / 1.38 GB, free: 6.277 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001362/0.4032, allocations: 1.758 MB / 1.381 GB, free: 4.484 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0007823/0.404, allocations: 315.2 kB / 1.382 GB, free: 4.172 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007045/0.4047, allocations: 0.5891 MB / 1.382 GB, free: 3.582 MB / 1.076 GB Notification: Performance of SimCode: time 7.31e-07/0.4047, allocations: 0 / 1.382 GB, free: 3.582 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07453/0.4792, allocations: 39.95 MB / 1.421 GB, free: 12.16 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/10.9, allocations: 16.5 kB / 1.421 GB, free: 12.15 MB / 1.123 GB " [Timeout remaining time 289] (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: 17.234724099980667]