Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.RadiationTemperature,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005765/0.005765, allocations: 101.1 kB / 15.73 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.001429, allocations: 193.5 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.255/2.255, allocations: 390.3 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 67.3 kB / 0.9505 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2625, allocations: 140.4 MB / 1.088 GB, free: 1.91 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.00893/0.2715, allocations: 7.866 MB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.008015/0.2795, allocations: 5.372 MB / 1.1 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.2812, allocations: 59.69 kB / 1.101 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004941/0.2862, allocations: 1.71 MB / 1.102 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002289/0.2886, allocations: 0.6552 MB / 1.103 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.2898, allocations: 298.6 kB / 1.103 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00317/0.293, allocations: 2.05 MB / 1.105 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/0.2941, allocations: 0.6918 MB / 1.106 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001319/0.2954, allocations: 0.7855 MB / 1.107 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001522/0.297, allocations: 0.8707 MB / 1.107 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004032/0.2974, allocations: 92 kB / 1.108 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008406/0.2982, allocations: 219.8 kB / 1.108 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004963/0.2987, allocations: 366.5 kB / 1.108 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001336/0.3001, allocations: 0.8739 MB / 1.109 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003132/0.3032, allocations: 2.628 MB / 1.112 GB, free: 9.277 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.3033, allocations: 0 / 1.112 GB, free: 9.277 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.634e-06/0.3033, allocations: 0 / 1.112 GB, free: 9.277 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.36e-05/0.3033, allocations: 0 / 1.112 GB, free: 9.277 MB / 0.8731 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.004542/0.3079, allocations: 2.401 MB / 1.114 GB, free: 6.809 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.3079, allocations: 8.031 kB / 1.114 GB, free: 6.801 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001412/0.3081, allocations: 94.7 kB / 1.114 GB, free: 6.699 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003803/0.3085, allocations: 214.3 kB / 1.114 GB, free: 6.488 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003403/0.3119, allocations: 1.72 MB / 1.116 GB, free: 4.699 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.049e-05/0.312, allocations: 37 kB / 1.116 GB, free: 4.66 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.473e-05/0.3121, allocations: 48 kB / 1.116 GB, free: 4.613 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009023/0.313, allocations: 0.5606 MB / 1.116 GB, free: 4.043 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.313, allocations: 7.984 kB / 1.116 GB, free: 4.035 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.049e-05/0.313, allocations: 20 kB / 1.116 GB, free: 4.016 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.3131, allocations: 15.98 kB / 1.117 GB, free: 4 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007659/0.3138, allocations: 0.4957 MB / 1.117 GB, free: 3.508 MB / 0.8731 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.005204/0.319, allocations: 3.227 MB / 1.12 GB, free: 36 kB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.3192, allocations: 66.47 kB / 1.12 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.035e-05/0.3193, allocations: 48.88 kB / 1.12 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.3193, allocations: 0 / 1.12 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.3193, allocations: 30.56 kB / 1.12 GB, free: 15.87 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.392e-06/0.3193, allocations: 0 / 1.12 GB, free: 15.87 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0006478/0.32, allocations: 355 kB / 1.121 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.32, allocations: 51.53 kB / 1.121 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004266/0.3243, allocations: 2.935 MB / 1.124 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.493e-05/0.3244, allocations: 33.7 kB / 1.124 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008766/0.3252, allocations: 0.9308 MB / 1.124 GB, free: 11.53 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.3253, allocations: 11.89 kB / 1.124 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.3254, allocations: 114.1 kB / 1.125 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.3256, allocations: 329.9 kB / 1.125 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.3258, allocations: 157 kB / 1.125 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004136/0.3262, allocations: 469.2 kB / 1.126 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005998/0.3268, allocations: 0.602 MB / 1.126 GB, free: 9.559 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.106e-06/0.3268, allocations: 4 kB / 1.126 GB, free: 9.555 MB / 0.8887 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001215/0.3281, allocations: 0.7644 MB / 1.127 GB, free: 8.781 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.3281, allocations: 13.56 kB / 1.127 GB, free: 8.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.3281, allocations: 8 kB / 1.127 GB, free: 8.762 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.648e-05/0.3281, allocations: 16 kB / 1.127 GB, free: 8.746 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003238/0.3285, allocations: 103.8 kB / 1.127 GB, free: 8.645 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.18e-05/0.3285, allocations: 23.92 kB / 1.127 GB, free: 8.621 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007509/0.3293, allocations: 91.38 kB / 1.127 GB, free: 8.531 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/0.3293, allocations: 28 kB / 1.127 GB, free: 8.504 MB / 0.8887 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.0008395/0.3301, allocations: 0.743 MB / 1.128 GB, free: 7.75 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003174/0.3305, allocations: 201.4 kB / 1.128 GB, free: 7.551 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003947/0.3309, allocations: 223.8 kB / 1.128 GB, free: 7.324 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3309, allocations: 0 / 1.128 GB, free: 7.324 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3309, allocations: 4 kB / 1.128 GB, free: 7.32 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3309, allocations: 0 / 1.128 GB, free: 7.32 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.3321, allocations: 0.9392 MB / 1.129 GB, free: 6.332 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3322, allocations: 0 / 1.129 GB, free: 6.332 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.948e-05/0.3322, allocations: 4 kB / 1.129 GB, free: 6.328 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3322, allocations: 0 / 1.129 GB, free: 6.328 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.3322, allocations: 3.984 kB / 1.129 GB, free: 6.324 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3323, allocations: 3.938 kB / 1.129 GB, free: 6.32 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.3323, allocations: 3.984 kB / 1.129 GB, free: 6.316 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004487/0.3327, allocations: 433 kB / 1.13 GB, free: 5.875 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006852/0.3334, allocations: 362.4 kB / 1.13 GB, free: 5.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002367/0.3337, allocations: 0 / 1.13 GB, free: 5.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003711/0.334, allocations: 4 kB / 1.13 GB, free: 5.496 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.996e-05/0.3341, allocations: 4 kB / 1.13 GB, free: 5.492 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.3341, allocations: 0 / 1.13 GB, free: 5.492 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002912/0.337, allocations: 2.062 MB / 1.132 GB, free: 3.422 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.71e-07/0.337, allocations: 0 / 1.132 GB, free: 3.422 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009329/0.3379, allocations: 239.9 kB / 1.132 GB, free: 3.188 MB / 0.8887 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.001102/0.3391, allocations: 1.013 MB / 1.133 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005222/0.3396, allocations: 317.3 kB / 1.133 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3396, allocations: 0.9375 kB / 1.133 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 5.949e-05/0.3397, allocations: 43.95 kB / 1.134 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002776/0.3425, allocations: 0.7101 MB / 1.134 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02352/0.366, allocations: 16.24 MB / 1.15 GB, free: 392 kB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001742/0.3678, allocations: 1.8 MB / 1.152 GB, free: 14.55 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0009098/0.3687, allocations: 309.4 kB / 1.152 GB, free: 14.24 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000811/0.3695, allocations: 0.6828 MB / 1.153 GB, free: 13.55 MB / 0.92 GB Notification: Performance of SimCode: time 1.002e-06/0.3696, allocations: 4 kB / 1.153 GB, free: 13.55 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07349/0.4431, allocations: 44.56 MB / 1.196 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/11, allocations: 11.61 kB / 1.196 GB, free: 1.523 MB / 0.9512 GB (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.fmu > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches