Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,fileNamePrefix="Buildings_10_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.008023/0.008023, allocations: 102.2 kB / 15.73 MB, free: 5.516 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.002049/0.002049, allocations: 203.3 kB / 16.68 MB, free: 5.445 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 14.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.242/2.242, allocations: 437.1 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 56.05 kB / 1.018 GB, free: 9.812 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6999/0.7011, allocations: 151.6 MB / 1.166 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.008356/0.7095, allocations: 7.85 MB / 1.174 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.007205/0.7167, allocations: 5.375 MB / 1.179 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/0.718, allocations: 55.75 kB / 1.179 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004313/0.7224, allocations: 1.729 MB / 1.181 GB, free: 4.789 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002138/0.7246, allocations: 0.6591 MB / 1.182 GB, free: 4.125 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.7257, allocations: 304.8 kB / 1.182 GB, free: 3.828 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002568/0.7282, allocations: 2.048 MB / 1.184 GB, free: 1.773 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008265/0.7291, allocations: 0.6996 MB / 1.185 GB, free: 1.055 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.7302, allocations: 0.7777 MB / 1.185 GB, free: 276 kB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.7313, allocations: 0.8707 MB / 1.186 GB, free: 15.39 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001613/0.7315, allocations: 96 kB / 1.186 GB, free: 15.3 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004866/0.732, allocations: 219.8 kB / 1.186 GB, free: 15.09 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003295/0.7323, allocations: 366.5 kB / 1.187 GB, free: 14.73 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0008133/0.7332, allocations: 0.87 MB / 1.188 GB, free: 13.85 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002815/0.736, allocations: 2.638 MB / 1.19 GB, free: 11.2 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.736, allocations: 3.938 kB / 1.19 GB, free: 11.2 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.014e-06/0.736, allocations: 0 / 1.19 GB, free: 11.2 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.541e-05/0.7361, allocations: 0 / 1.19 GB, free: 11.2 MB / 0.92 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.003169/0.7392, allocations: 2.478 MB / 1.193 GB, free: 8.648 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.7393, allocations: 8.922 kB / 1.193 GB, free: 8.641 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.595e-05/0.7394, allocations: 90.7 kB / 1.193 GB, free: 8.543 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002638/0.7397, allocations: 227.5 kB / 1.193 GB, free: 8.32 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002413/0.7421, allocations: 1.737 MB / 1.195 GB, free: 6.516 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/0.7421, allocations: 37 kB / 1.195 GB, free: 6.48 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.778e-05/0.7422, allocations: 55.98 kB / 1.195 GB, free: 6.426 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007864/0.743, allocations: 0.5529 MB / 1.195 GB, free: 5.867 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.743, allocations: 4 kB / 1.195 GB, free: 5.863 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.458e-05/0.7431, allocations: 16 kB / 1.195 GB, free: 5.848 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.7431, allocations: 12 kB / 1.195 GB, free: 5.836 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006821/0.7438, allocations: 0.4995 MB / 1.196 GB, free: 5.336 MB / 0.92 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.004227/0.748, allocations: 3.236 MB / 1.199 GB, free: 1.859 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.758e-05/0.7481, allocations: 62.53 kB / 1.199 GB, free: 1.789 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.31e-05/0.7482, allocations: 48.81 kB / 1.199 GB, free: 1.738 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.7482, allocations: 0 / 1.199 GB, free: 1.738 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.7482, allocations: 34.56 kB / 1.199 GB, free: 1.695 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.573e-06/0.7483, allocations: 0 / 1.199 GB, free: 1.695 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0005734/0.7488, allocations: 368.1 kB / 1.199 GB, free: 1.328 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.7489, allocations: 51.41 kB / 1.2 GB, free: 1.266 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003478/0.7524, allocations: 2.931 MB / 1.202 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/0.7524, allocations: 29.7 kB / 1.202 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008/0.7532, allocations: 0.9435 MB / 1.203 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.889e-05/0.7533, allocations: 19.92 kB / 1.203 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.7534, allocations: 114.1 kB / 1.203 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.7535, allocations: 329.9 kB / 1.204 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.7537, allocations: 156.9 kB / 1.204 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003929/0.7541, allocations: 473.2 kB / 1.204 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005735/0.7547, allocations: 0.5981 MB / 1.205 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.7547, allocations: 0 / 1.205 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001103/0.7558, allocations: 0.7735 MB / 1.206 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.7559, allocations: 11.98 kB / 1.206 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.7559, allocations: 12 kB / 1.206 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.7559, allocations: 12 kB / 1.206 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003114/0.7562, allocations: 107.8 kB / 1.206 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.865e-05/0.7562, allocations: 23.86 kB / 1.206 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006199/0.7569, allocations: 99.66 kB / 1.206 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.7569, allocations: 28 kB / 1.206 GB, free: 10.29 MB / 0.9356 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.0008038/0.7577, allocations: 0.7352 MB / 1.207 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002077/0.7579, allocations: 218.5 kB / 1.207 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000277/0.7582, allocations: 227.7 kB / 1.207 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.7582, allocations: 0 / 1.207 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.7582, allocations: 4 kB / 1.207 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.7582, allocations: 7.984 kB / 1.207 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009615/0.7592, allocations: 0.9392 MB / 1.208 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.7592, allocations: 0 / 1.208 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.276e-05/0.7593, allocations: 0 / 1.208 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.7593, allocations: 0 / 1.208 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.7593, allocations: 0 / 1.208 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.7593, allocations: 4 kB / 1.208 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.7593, allocations: 0 / 1.208 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/0.7597, allocations: 434.3 kB / 1.208 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004616/0.7602, allocations: 371.6 kB / 1.209 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/0.7603, allocations: 0 / 1.209 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003099/0.7607, allocations: 4 kB / 1.209 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.391e-05/0.7607, allocations: 3.984 kB / 1.209 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.7607, allocations: 4 kB / 1.209 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002507/0.7632, allocations: 2.066 MB / 1.211 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7632, allocations: 4 kB / 1.211 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007649/0.764, allocations: 243.8 kB / 1.211 GB, free: 4.941 MB / 0.9356 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.0009922/0.765, allocations: 1.015 MB / 1.212 GB, free: 3.902 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005162/0.7655, allocations: 317.4 kB / 1.212 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7655, allocations: 0.875 kB / 1.212 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.919e-05/0.7656, allocations: 43.89 kB / 1.212 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/0.7679, allocations: 0.7138 MB / 1.213 GB, free: 2.852 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02026/0.7882, allocations: 16.29 MB / 1.229 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/0.7895, allocations: 1.8 MB / 1.231 GB, free: 260 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008252/0.7904, allocations: 305.5 kB / 1.231 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007063/0.7911, allocations: 0.6828 MB / 1.232 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of SimCode: time 5.61e-07/0.7911, allocations: 4 kB / 1.232 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06851/0.8596, allocations: 44.02 MB / 1.275 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/11.07, allocations: 26.56 kB / 1.275 GB, free: 3.77 MB / 0.9981 GB (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.fmu > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches