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.00703/0.00703, allocations: 104.3 kB / 15.74 MB, free: 6.059 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.001634/0.001634, allocations: 196.7 kB / 16.68 MB, free: 5.969 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.243/1.243, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.086/2.086, allocations: 390.2 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 71.83 kB / 0.9505 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.716/0.7173, allocations: 140.4 MB / 1.088 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.007413/0.7248, allocations: 7.866 MB / 1.095 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008466/0.7333, allocations: 5.372 MB / 1.1 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001809/0.7351, allocations: 48 kB / 1.101 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005248/0.7404, allocations: 1.713 MB / 1.102 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002471/0.7429, allocations: 0.658 MB / 1.103 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.7442, allocations: 303.6 kB / 1.103 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003448/0.7477, allocations: 2.041 MB / 1.105 GB, free: 9.328 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/0.749, allocations: 0.6955 MB / 1.106 GB, free: 9.051 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001531/0.7506, allocations: 0.756 MB / 1.107 GB, free: 8.715 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001813/0.7524, allocations: 0.8761 MB / 1.107 GB, free: 8.289 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004939/0.7529, allocations: 93 kB / 1.108 GB, free: 8.289 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.754, allocations: 221.5 kB / 1.108 GB, free: 8.246 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0006717/0.7547, allocations: 369.6 kB / 1.108 GB, free: 8.055 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001865/0.7566, allocations: 0.8719 MB / 1.109 GB, free: 7.504 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004054/0.7607, allocations: 2.622 MB / 1.111 GB, free: 6.531 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7607, allocations: 1.469 kB / 1.111 GB, free: 6.531 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.865e-06/0.7607, allocations: 0 / 1.111 GB, free: 6.531 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.401e-05/0.7607, allocations: 3.938 kB / 1.111 GB, free: 6.527 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.003977/0.7647, allocations: 2.4 MB / 1.114 GB, free: 4.961 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.7648, allocations: 9.844 kB / 1.114 GB, free: 4.961 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/0.7649, allocations: 96.94 kB / 1.114 GB, free: 4.887 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002866/0.7652, allocations: 213 kB / 1.114 GB, free: 4.777 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003017/0.7682, allocations: 1.71 MB / 1.116 GB, free: 3.883 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.897e-05/0.7682, allocations: 42.61 kB / 1.116 GB, free: 3.863 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.909e-05/0.7683, allocations: 53.72 kB / 1.116 GB, free: 3.844 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009126/0.7692, allocations: 0.5575 MB / 1.116 GB, free: 3.641 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.7692, allocations: 0 / 1.116 GB, free: 3.641 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.206e-05/0.7693, allocations: 20.09 kB / 1.116 GB, free: 3.625 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.7693, allocations: 12.16 kB / 1.116 GB, free: 3.625 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007652/0.7701, allocations: 0.4959 MB / 1.117 GB, free: 3.484 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.004546/0.7746, allocations: 3.234 MB / 1.12 GB, free: 1.504 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 9.586e-05/0.7747, allocations: 56.58 kB / 1.12 GB, free: 1.473 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.119e-05/0.7748, allocations: 44.53 kB / 1.12 GB, free: 1.457 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.7748, allocations: 1.719 kB / 1.12 GB, free: 1.457 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.7749, allocations: 30.56 kB / 1.12 GB, free: 1.418 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=1): time 1.362e-06/0.7749, allocations: 0 / 1.12 GB, free: 1.418 MB / 0.8731 GB Notification: Performance of matching and sorting (n=1): time 0.0005639/0.7754, allocations: 365.1 kB / 1.121 GB, free: 1.242 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.7755, allocations: 52.16 kB / 1.121 GB, free: 1.18 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003771/0.7793, allocations: 2.93 MB / 1.123 GB, free: 252 kB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.7793, allocations: 28.05 kB / 1.124 GB, free: 220 kB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008326/0.7801, allocations: 0.9334 MB / 1.124 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.7802, allocations: 15.3 kB / 1.124 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.7803, allocations: 110.6 kB / 1.125 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.7804, allocations: 330.6 kB / 1.125 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.7807, allocations: 156.1 kB / 1.125 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004188/0.7811, allocations: 467.5 kB / 1.125 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000598/0.7817, allocations: 0.6042 MB / 1.126 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.7817, allocations: 2.812 kB / 1.126 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001092/0.7828, allocations: 0.7663 MB / 1.127 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.7828, allocations: 13.81 kB / 1.127 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.7829, allocations: 11.22 kB / 1.127 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.7829, allocations: 14.38 kB / 1.127 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.7832, allocations: 103.6 kB / 1.127 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.126e-05/0.7832, allocations: 24.53 kB / 1.127 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000788/0.784, allocations: 94.17 kB / 1.127 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.7841, allocations: 27.66 kB / 1.127 GB, free: 13.63 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.0008661/0.785, allocations: 0.7347 MB / 1.128 GB, free: 13.31 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/0.7852, allocations: 201.9 kB / 1.128 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003155/0.7855, allocations: 228.3 kB / 1.128 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.7855, allocations: 0.7031 kB / 1.128 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.7855, allocations: 3.984 kB / 1.128 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.7855, allocations: 1.156 kB / 1.128 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.7868, allocations: 0.9386 MB / 1.129 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.7868, allocations: 1.094 kB / 1.129 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.422e-05/0.7869, allocations: 1.719 kB / 1.129 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.7869, allocations: 0 / 1.129 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.7869, allocations: 1.75 kB / 1.129 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.7869, allocations: 3.938 kB / 1.129 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.7869, allocations: 5.094 kB / 1.129 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004068/0.7873, allocations: 423.4 kB / 1.13 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005863/0.7879, allocations: 362.6 kB / 1.13 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.7881, allocations: 0.5625 kB / 1.13 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003412/0.7885, allocations: 6.719 kB / 1.13 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.649e-05/0.7885, allocations: 1.469 kB / 1.13 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.7885, allocations: 0.5156 kB / 1.13 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002777/0.7913, allocations: 2.066 MB / 1.132 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7913, allocations: 0 / 1.132 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008507/0.7921, allocations: 241.3 kB / 1.132 GB, free: 11.44 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.0009349/0.7931, allocations: 1.028 MB / 1.133 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005023/0.7936, allocations: 309.6 kB / 1.133 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7936, allocations: 1.312 kB / 1.133 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 6.645e-05/0.7937, allocations: 44.09 kB / 1.133 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002415/0.7961, allocations: 0.7069 MB / 1.134 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02259/0.8187, allocations: 16.24 MB / 1.15 GB, free: 3.688 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00154/0.8203, allocations: 1.807 MB / 1.152 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009738/0.8213, allocations: 311.8 kB / 1.152 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007121/0.822, allocations: 0.6812 MB / 1.153 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of SimCode: time 1.002e-06/0.822, allocations: 0 / 1.153 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07476/0.8968, allocations: 44.01 MB / 1.196 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/10.91, allocations: 10.42 kB / 1.196 GB, free: 14.69 MB / 0.9356 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