Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.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.001402/0.001402, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001984/0.001984, allocations: 213.2 kB / 22.25 MB, free: 4.855 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.54/1.54, allocations: 230.6 MB / 256 MB, free: 7.801 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.203/3.203, allocations: 0.4892 GB / 0.7943 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|radTem.TRad",fileNamePrefix="Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|radTem.TRad",fileNamePrefix="Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature") [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.002095/0.002095, allocations: 67.27 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3094, allocations: 176.1 MB / 1.326 GB, free: 1.766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.01008/0.3195, allocations: 6.941 MB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008447/0.3279, allocations: 4.896 MB / 1.337 GB, free: 5.875 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001322/0.3293, allocations: 75.44 kB / 1.337 GB, free: 5.801 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00506/0.3343, allocations: 1.617 MB / 1.339 GB, free: 4.176 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002204/0.3365, allocations: 0.663 MB / 1.339 GB, free: 3.508 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.3378, allocations: 315.3 kB / 1.34 GB, free: 3.199 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003196/0.341, allocations: 2.057 MB / 1.342 GB, free: 1.133 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006849/0.3417, allocations: 301 kB / 1.342 GB, free: 0.8125 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001447/0.3432, allocations: 0.8246 MB / 1.343 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001541/0.3447, allocations: 0.8902 MB / 1.344 GB, free: 15.09 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003443/0.345, allocations: 92 kB / 1.344 GB, free: 15 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007662/0.3458, allocations: 227.8 kB / 1.344 GB, free: 14.78 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004621/0.3463, allocations: 366.3 kB / 1.344 GB, free: 14.42 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001001/0.3473, allocations: 0.6602 MB / 1.345 GB, free: 13.75 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003344/0.3506, allocations: 2.657 MB / 1.348 GB, free: 11.09 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3506, allocations: 0 / 1.348 GB, free: 11.09 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.625e-06/0.3506, allocations: 0 / 1.348 GB, free: 11.09 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.533e-05/0.3507, allocations: 0 / 1.348 GB, free: 11.09 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.005074/0.3558, allocations: 2.411 MB / 1.35 GB, free: 8.625 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.3558, allocations: 12.03 kB / 1.35 GB, free: 8.613 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004873/0.3563, allocations: 231.4 kB / 1.35 GB, free: 8.387 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003622/0.3599, allocations: 1.654 MB / 1.352 GB, free: 6.672 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.5e-05/0.36, allocations: 37 kB / 1.352 GB, free: 6.637 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.363e-05/0.3601, allocations: 52 kB / 1.352 GB, free: 6.586 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.3611, allocations: 0.5607 MB / 1.352 GB, free: 6.02 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.3611, allocations: 0 / 1.352 GB, free: 6.02 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-05/0.3612, allocations: 23.98 kB / 1.352 GB, free: 5.996 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.3612, allocations: 12 kB / 1.353 GB, free: 5.984 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008593/0.362, allocations: 0.4918 MB / 1.353 GB, free: 5.492 MB / 1.045 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004865/0.3669, allocations: 2.342 MB / 1.355 GB, free: 3.051 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.367, allocations: 62.42 kB / 1.355 GB, free: 2.98 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.397e-05/0.3671, allocations: 48.88 kB / 1.355 GB, free: 2.93 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.3671, allocations: 0 / 1.355 GB, free: 2.93 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.3672, allocations: 30.56 kB / 1.355 GB, free: 2.891 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 1.392e-06/0.3672, allocations: 4 kB / 1.355 GB, free: 2.887 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0006803/0.3678, allocations: 352.2 kB / 1.356 GB, free: 2.535 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.3679, allocations: 51.41 kB / 1.356 GB, free: 2.473 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004346/0.3722, allocations: 2.671 MB / 1.358 GB, free: 15.77 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.3723, allocations: 29.7 kB / 1.358 GB, free: 15.74 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001045/0.3733, allocations: 0.9538 MB / 1.359 GB, free: 14.78 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.3733, allocations: 12.06 kB / 1.359 GB, free: 14.77 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.3735, allocations: 122 kB / 1.359 GB, free: 14.64 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3737, allocations: 330 kB / 1.36 GB, free: 14.31 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/0.3739, allocations: 152.9 kB / 1.36 GB, free: 14.16 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005599/0.3745, allocations: 490.3 kB / 1.36 GB, free: 13.54 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007779/0.3753, allocations: 0.6059 MB / 1.361 GB, free: 12.78 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.3753, allocations: 4 kB / 1.361 GB, free: 12.78 MB / 1.061 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001301/0.3766, allocations: 0.7581 MB / 1.362 GB, free: 12.01 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.3766, allocations: 17.66 kB / 1.362 GB, free: 12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.3766, allocations: 8 kB / 1.362 GB, free: 11.99 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.711e-05/0.3766, allocations: 16 kB / 1.362 GB, free: 11.97 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/0.377, allocations: 99.83 kB / 1.362 GB, free: 11.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-05/0.377, allocations: 19.94 kB / 1.362 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006541/0.3777, allocations: 71.77 kB / 1.362 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.112e-05/0.3777, allocations: 28 kB / 1.362 GB, free: 11.76 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (58): * Single equations (assignments): 58 * 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.0009948/0.3787, allocations: 0.7419 MB / 1.363 GB, free: 11.01 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002714/0.379, allocations: 194.7 kB / 1.363 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003415/0.3793, allocations: 210.1 kB / 1.363 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.3793, allocations: 0 / 1.363 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3793, allocations: 0 / 1.363 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3793, allocations: 0 / 1.363 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.3805, allocations: 0.7687 MB / 1.364 GB, free: 9.805 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3805, allocations: 7.938 kB / 1.364 GB, free: 9.797 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.373e-05/0.3806, allocations: 11.94 kB / 1.364 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3806, allocations: 0 / 1.364 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.3806, allocations: 0 / 1.364 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3806, allocations: 0 / 1.364 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3806, allocations: 0 / 1.364 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004741/0.3811, allocations: 413.3 kB / 1.364 GB, free: 9.363 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006461/0.3817, allocations: 278.5 kB / 1.365 GB, free: 9.09 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001911/0.3819, allocations: 0 / 1.365 GB, free: 9.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003323/0.3822, allocations: 3.984 kB / 1.365 GB, free: 9.086 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.533e-05/0.3822, allocations: 12.03 kB / 1.365 GB, free: 9.074 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.3823, allocations: 0 / 1.365 GB, free: 9.074 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002835/0.3851, allocations: 1.87 MB / 1.366 GB, free: 7.191 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3851, allocations: 0 / 1.366 GB, free: 7.191 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008287/0.3859, allocations: 259.7 kB / 1.367 GB, free: 6.938 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0004011/0.3863, allocations: 147.9 kB / 1.367 GB, free: 6.793 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000534/0.3869, allocations: 301.5 kB / 1.367 GB, free: 6.5 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.3869, allocations: 0 / 1.367 GB, free: 6.5 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.475e-05/0.3869, allocations: 44.7 kB / 1.367 GB, free: 6.457 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00225/0.3892, allocations: 0.6037 MB / 1.368 GB, free: 5.867 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005315/0.3945, allocations: 3.341 MB / 1.371 GB, free: 2.48 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001559/0.3961, allocations: 1.229 MB / 1.372 GB, free: 1.211 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0007301/0.3968, allocations: 287.5 kB / 1.372 GB, free: 0.9258 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.397, allocations: 79.44 kB / 1.373 GB, free: 0.8477 MB / 1.061 GB Notification: Performance of SimCode: time 6.51e-07/0.397, allocations: 0 / 1.373 GB, free: 0.8477 MB / 1.061 GB Notification: Performance of Templates: time 0.04185/0.4388, allocations: 24.44 MB / 1.396 GB, free: 8.863 MB / 1.092 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.sim & ./Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.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: 9.139118513092399]