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.007253/0.007253, allocations: 96.38 kB / 15.73 MB, free: 5.996 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.001699/0.001699, allocations: 186 kB / 16.67 MB, free: 5.926 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.26/1.26, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.157/2.157, allocations: 390.3 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 67.23 kB / 0.9505 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2445, allocations: 140.4 MB / 1.088 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.008472/0.253, allocations: 7.843 MB / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007756/0.2608, allocations: 5.383 MB / 1.101 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001688/0.2625, allocations: 55.75 kB / 1.101 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004904/0.2675, allocations: 1.718 MB / 1.102 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002097/0.2696, allocations: 0.6553 MB / 1.103 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.2708, allocations: 303.4 kB / 1.103 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002767/0.2735, allocations: 2.045 MB / 1.105 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009848/0.2745, allocations: 0.7035 MB / 1.106 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.2757, allocations: 0.7816 MB / 1.107 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001316/0.277, allocations: 0.8668 MB / 1.107 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003482/0.2774, allocations: 96 kB / 1.108 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006327/0.278, allocations: 219.8 kB / 1.108 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003121/0.2784, allocations: 366.5 kB / 1.108 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0008151/0.2792, allocations: 0.87 MB / 1.109 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002296/0.2815, allocations: 2.646 MB / 1.112 GB, free: 9.336 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.2815, allocations: 0 / 1.112 GB, free: 9.336 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2815, allocations: 0 / 1.112 GB, free: 9.336 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.663e-05/0.2815, allocations: 0 / 1.112 GB, free: 9.336 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.002907/0.2845, allocations: 2.475 MB / 1.114 GB, free: 6.793 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.2845, allocations: 8.031 kB / 1.114 GB, free: 6.785 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.445e-05/0.2846, allocations: 94.7 kB / 1.114 GB, free: 6.684 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002258/0.2848, allocations: 231.5 kB / 1.114 GB, free: 6.457 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002375/0.2872, allocations: 1.726 MB / 1.116 GB, free: 4.664 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/0.2873, allocations: 40.94 kB / 1.116 GB, free: 4.621 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-05/0.2873, allocations: 52 kB / 1.116 GB, free: 4.57 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007947/0.2881, allocations: 0.5529 MB / 1.117 GB, free: 4.008 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4e-05/0.2882, allocations: 0 / 1.117 GB, free: 4.008 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.021e-05/0.2883, allocations: 24 kB / 1.117 GB, free: 3.984 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.2883, allocations: 12 kB / 1.117 GB, free: 3.973 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000661/0.2889, allocations: 0.4995 MB / 1.117 GB, free: 3.477 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.003811/0.2928, allocations: 3.24 MB / 1.12 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.664e-05/0.2929, allocations: 62.53 kB / 1.12 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.127e-05/0.2929, allocations: 44.88 kB / 1.12 GB, free: 15.87 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.293, allocations: 0 / 1.12 GB, free: 15.87 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.293, allocations: 38.5 kB / 1.12 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.293, allocations: 0 / 1.12 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0004755/0.2935, allocations: 368.1 kB / 1.121 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.2935, allocations: 55.41 kB / 1.121 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003083/0.2966, allocations: 2.931 MB / 1.124 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.2966, allocations: 29.69 kB / 1.124 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007526/0.2974, allocations: 0.9434 MB / 1.125 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.2974, allocations: 11.95 kB / 1.125 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.2976, allocations: 114.1 kB / 1.125 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.944e-05/0.2977, allocations: 329.9 kB / 1.125 GB, free: 11 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.2979, allocations: 153 kB / 1.125 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003813/0.2982, allocations: 477.2 kB / 1.126 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005419/0.2988, allocations: 0.602 MB / 1.126 GB, free: 9.492 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.2988, allocations: 4 kB / 1.126 GB, free: 9.488 MB / 0.8887 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000943/0.2998, allocations: 0.7774 MB / 1.127 GB, free: 8.703 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.2998, allocations: 8 kB / 1.127 GB, free: 8.695 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.2998, allocations: 12 kB / 1.127 GB, free: 8.684 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.2998, allocations: 12 kB / 1.127 GB, free: 8.672 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000312/0.3002, allocations: 111.8 kB / 1.127 GB, free: 8.562 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.695e-05/0.3002, allocations: 15.94 kB / 1.127 GB, free: 8.547 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005501/0.3007, allocations: 95.64 kB / 1.127 GB, free: 8.453 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.3008, allocations: 28 kB / 1.127 GB, free: 8.426 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.0006852/0.3015, allocations: 0.7314 MB / 1.128 GB, free: 7.684 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/0.3017, allocations: 218.6 kB / 1.128 GB, free: 7.469 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002455/0.3019, allocations: 219.8 kB / 1.128 GB, free: 7.246 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3019, allocations: 4 kB / 1.128 GB, free: 7.242 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3019, allocations: 7.938 kB / 1.128 GB, free: 7.234 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.3019, allocations: 0 / 1.128 GB, free: 7.234 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008942/0.3028, allocations: 0.943 MB / 1.129 GB, free: 6.242 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3028, allocations: 3.938 kB / 1.129 GB, free: 6.238 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.103e-05/0.3029, allocations: 0 / 1.129 GB, free: 6.238 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3029, allocations: 0 / 1.129 GB, free: 6.238 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.3029, allocations: 8 kB / 1.129 GB, free: 6.23 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3029, allocations: 0 / 1.129 GB, free: 6.23 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.3029, allocations: 0 / 1.129 GB, free: 6.23 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003512/0.3033, allocations: 430.3 kB / 1.13 GB, free: 5.793 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005259/0.3038, allocations: 379.5 kB / 1.13 GB, free: 5.402 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.304, allocations: 0 / 1.13 GB, free: 5.402 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003277/0.3043, allocations: 7.984 kB / 1.13 GB, free: 5.395 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.628e-05/0.3043, allocations: 0 / 1.13 GB, free: 5.395 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.3044, allocations: 0 / 1.13 GB, free: 5.395 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002248/0.3066, allocations: 2.062 MB / 1.132 GB, free: 3.324 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3066, allocations: 0 / 1.132 GB, free: 3.324 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006687/0.3073, allocations: 239.9 kB / 1.132 GB, free: 3.09 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.0008503/0.3081, allocations: 1.023 MB / 1.133 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004305/0.3086, allocations: 309.7 kB / 1.134 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3086, allocations: 0 / 1.134 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 5.749e-05/0.3087, allocations: 44.64 kB / 1.134 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002234/0.3109, allocations: 0.722 MB / 1.134 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01829/0.3292, allocations: 16.31 MB / 1.15 GB, free: 204 kB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001157/0.3304, allocations: 1.8 MB / 1.152 GB, free: 14.36 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007807/0.3312, allocations: 305.4 kB / 1.152 GB, free: 14.06 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006691/0.3319, allocations: 0.6789 MB / 1.153 GB, free: 13.38 MB / 0.92 GB Notification: Performance of SimCode: time 8.12e-07/0.3319, allocations: 0 / 1.153 GB, free: 13.38 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06778/0.3997, allocations: 44.02 MB / 1.196 GB, free: 1.918 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/10.6, allocations: 13.39 kB / 1.196 GB, free: 1.906 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 & python3 -m fmpy simulate --output-file Buildings_9_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_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.csv","/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