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.001581/0.001581, allocations: 108.6 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 187.7 kB / 16.66 MB, free: 6.59 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.25/1.25, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.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.402/2.402, allocations: 437 MB / 0.7105 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 67.91 kB / 1.018 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2764, allocations: 151.6 MB / 1.166 GB, free: 7.242 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.008545/0.2849, allocations: 7.854 MB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008256/0.2932, allocations: 5.383 MB / 1.179 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.2946, allocations: 51.75 kB / 1.179 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004853/0.2995, allocations: 1.73 MB / 1.181 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00236/0.3019, allocations: 0.663 MB / 1.182 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.303, allocations: 303.3 kB / 1.182 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002678/0.3057, allocations: 2.045 MB / 1.184 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007744/0.3065, allocations: 0.6918 MB / 1.185 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007538/0.3072, allocations: 0.7855 MB / 1.185 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008697/0.3081, allocations: 0.8746 MB / 1.186 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.3083, allocations: 92 kB / 1.186 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004357/0.3087, allocations: 223.8 kB / 1.186 GB, free: 2.445 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003149/0.309, allocations: 370.4 kB / 1.187 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007537/0.3098, allocations: 0.8661 MB / 1.188 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002341/0.3121, allocations: 2.638 MB / 1.19 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3121, allocations: 0 / 1.19 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3122, allocations: 4 kB / 1.19 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.614e-05/0.3122, allocations: 0 / 1.19 GB, free: 14.56 MB / 0.9512 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.003061/0.3152, allocations: 2.475 MB / 1.193 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.3153, allocations: 8.031 kB / 1.193 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.259e-05/0.3154, allocations: 98.64 kB / 1.193 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002399/0.3156, allocations: 223.5 kB / 1.193 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00247/0.3181, allocations: 1.73 MB / 1.195 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.3182, allocations: 37 kB / 1.195 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.076e-05/0.3182, allocations: 52 kB / 1.195 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008225/0.3191, allocations: 0.5529 MB / 1.195 GB, free: 9.242 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3191, allocations: 4 kB / 1.195 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.373e-05/0.3191, allocations: 20 kB / 1.195 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.3191, allocations: 8 kB / 1.195 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006906/0.3198, allocations: 0.4957 MB / 1.196 GB, free: 8.715 MB / 0.9512 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.00392/0.3238, allocations: 3.24 MB / 1.199 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.427e-05/0.3239, allocations: 62.53 kB / 1.199 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.031e-05/0.3239, allocations: 44.88 kB / 1.199 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-06/0.324, allocations: 0 / 1.199 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.324, allocations: 34.56 kB / 1.199 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 2.485e-06/0.324, allocations: 7.922 kB / 1.199 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0004793/0.3245, allocations: 372.1 kB / 1.199 GB, free: 4.691 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.3245, allocations: 51.41 kB / 1.199 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00325/0.3278, allocations: 2.931 MB / 1.202 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.3278, allocations: 29.7 kB / 1.202 GB, free: 1.648 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008822/0.3287, allocations: 0.9435 MB / 1.203 GB, free: 0.6992 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.3287, allocations: 23.98 kB / 1.203 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.3288, allocations: 114.2 kB / 1.203 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.329, allocations: 329.9 kB / 1.204 GB, free: 232 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.3292, allocations: 153 kB / 1.204 GB, free: 80 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003983/0.3296, allocations: 465.2 kB / 1.204 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005599/0.3301, allocations: 0.6059 MB / 1.205 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.3302, allocations: 4 kB / 1.205 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009221/0.3311, allocations: 0.7698 MB / 1.206 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.3311, allocations: 12.22 kB / 1.206 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.3311, allocations: 16 kB / 1.206 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.3312, allocations: 12 kB / 1.206 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/0.3315, allocations: 107.8 kB / 1.206 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.905e-05/0.3315, allocations: 23.92 kB / 1.206 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005466/0.332, allocations: 91.25 kB / 1.206 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.3321, allocations: 32 kB / 1.206 GB, free: 13.65 MB / 0.9669 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.0006913/0.3328, allocations: 0.7391 MB / 1.207 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/0.333, allocations: 210.6 kB / 1.207 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002545/0.3332, allocations: 227.7 kB / 1.207 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3332, allocations: 0 / 1.207 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3333, allocations: 0 / 1.207 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3333, allocations: 3.984 kB / 1.207 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009098/0.3342, allocations: 0.9353 MB / 1.208 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3342, allocations: 4 kB / 1.208 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.909e-05/0.3342, allocations: 4 kB / 1.208 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.3342, allocations: 3.984 kB / 1.208 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.3343, allocations: 0 / 1.208 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3343, allocations: 0 / 1.208 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3343, allocations: 0 / 1.208 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003656/0.3346, allocations: 438.2 kB / 1.208 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005255/0.3352, allocations: 371.6 kB / 1.209 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/0.3353, allocations: 0 / 1.209 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003388/0.3357, allocations: 4.031 kB / 1.209 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.122e-05/0.3357, allocations: 4 kB / 1.209 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.3357, allocations: 0 / 1.209 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002315/0.3381, allocations: 2.062 MB / 1.211 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3381, allocations: 0 / 1.211 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006678/0.3387, allocations: 247.8 kB / 1.211 GB, free: 8.312 MB / 0.9669 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.0008594/0.3396, allocations: 1.019 MB / 1.212 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004349/0.34, allocations: 313 kB / 1.212 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3401, allocations: 0 / 1.212 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.712e-05/0.3401, allocations: 47.95 kB / 1.212 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/0.3424, allocations: 0.7207 MB / 1.213 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01871/0.3611, allocations: 16.29 MB / 1.229 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001251/0.3624, allocations: 1.808 MB / 1.231 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0007871/0.3632, allocations: 309.3 kB / 1.231 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000698/0.3639, allocations: 0.6828 MB / 1.232 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of SimCode: time 7.92e-07/0.3639, allocations: 0 / 1.232 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5881/0.952, allocations: 44 MB / 1.275 GB, free: 66.28 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/11.23, allocations: 16.17 kB / 1.275 GB, free: 66.27 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