Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,fileNamePrefix="Buildings_latest_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.001056/0.001056, allocations: 108 kB / 15.6 MB, free: 132 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.0009814/0.0009814, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.234/1.234, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.531/2.531, allocations: 469.4 MB / 0.742 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 64.88 kB / 0.9083 GB, free: 34.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.241, allocations: 159.1 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.008162/0.2492, allocations: 7.875 MB / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006595/0.2558, allocations: 5.375 MB / 1.077 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009006/0.2567, allocations: 39.81 kB / 1.077 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003842/0.2606, allocations: 1.71 MB / 1.078 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001442/0.262, allocations: 0.663 MB / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007917/0.2628, allocations: 291.5 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001856/0.2647, allocations: 2.03 MB / 1.081 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007507/0.2655, allocations: 0.6918 MB / 1.082 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007086/0.2662, allocations: 0.7504 MB / 1.083 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008945/0.2671, allocations: 0.8863 MB / 1.083 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001639/0.2673, allocations: 92 kB / 1.084 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004597/0.2677, allocations: 211.8 kB / 1.084 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003162/0.2681, allocations: 378.4 kB / 1.084 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0007257/0.2688, allocations: 0.8778 MB / 1.085 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001848/0.2706, allocations: 2.382 MB / 1.087 GB, free: 6.191 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.2707, allocations: 0 / 1.087 GB, free: 6.191 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2707, allocations: 4 kB / 1.087 GB, free: 6.188 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.461e-05/0.2707, allocations: 0 / 1.087 GB, free: 6.188 MB / 0.8419 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.002779/0.2735, allocations: 2.346 MB / 1.09 GB, free: 3.773 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.2735, allocations: 8.031 kB / 1.09 GB, free: 3.766 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.21e-05/0.2736, allocations: 98.7 kB / 1.09 GB, free: 3.66 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002361/0.2739, allocations: 210.3 kB / 1.09 GB, free: 3.453 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002134/0.276, allocations: 1.618 MB / 1.092 GB, free: 1.766 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/0.276, allocations: 41 kB / 1.092 GB, free: 1.723 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.628e-05/0.2761, allocations: 52 kB / 1.092 GB, free: 1.672 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007904/0.2769, allocations: 0.5568 MB / 1.092 GB, free: 1.113 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.2769, allocations: 0 / 1.092 GB, free: 1.113 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.269e-05/0.277, allocations: 23.94 kB / 1.092 GB, free: 1.09 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.277, allocations: 12 kB / 1.092 GB, free: 1.078 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007303/0.2777, allocations: 0.4957 MB / 1.093 GB, free: 0.582 MB / 0.8419 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.003886/0.2816, allocations: 3.27 MB / 1.096 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.354e-05/0.2817, allocations: 58.47 kB / 1.096 GB, free: 13 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.298e-05/0.2818, allocations: 52.88 kB / 1.096 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.2818, allocations: 0 / 1.096 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.2818, allocations: 30.56 kB / 1.096 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.2819, allocations: 0 / 1.096 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0004792/0.2823, allocations: 359 kB / 1.096 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.2824, allocations: 59.38 kB / 1.096 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003248/0.2856, allocations: 2.951 MB / 1.099 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.2857, allocations: 29.7 kB / 1.099 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007928/0.2865, allocations: 0.9386 MB / 1.1 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.402e-05/0.2865, allocations: 11.89 kB / 1.1 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.2866, allocations: 114.1 kB / 1.1 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.822e-05/0.2867, allocations: 325.9 kB / 1.101 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.2869, allocations: 161 kB / 1.101 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003843/0.2873, allocations: 465.2 kB / 1.101 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005719/0.2879, allocations: 0.602 MB / 1.102 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2879, allocations: 0 / 1.102 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009414/0.2889, allocations: 0.772 MB / 1.103 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.2889, allocations: 8 kB / 1.103 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.2889, allocations: 12 kB / 1.103 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.2889, allocations: 12 kB / 1.103 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003156/0.2893, allocations: 107.8 kB / 1.103 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.2893, allocations: 24.52 kB / 1.103 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005192/0.2898, allocations: 90.97 kB / 1.103 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/0.2898, allocations: 28 kB / 1.103 GB, free: 5.512 MB / 0.8575 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.0006934/0.2905, allocations: 0.7397 MB / 1.104 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/0.2907, allocations: 201.4 kB / 1.104 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/0.291, allocations: 227.8 kB / 1.104 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.291, allocations: 0 / 1.104 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.291, allocations: 0 / 1.104 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-06/0.291, allocations: 0 / 1.104 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000907/0.2919, allocations: 0.9509 MB / 1.105 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.292, allocations: 0 / 1.105 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.504e-05/0.292, allocations: 4 kB / 1.105 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.292, allocations: 0 / 1.105 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.292, allocations: 0 / 1.105 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.292, allocations: 4 kB / 1.105 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.292, allocations: 0 / 1.105 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003512/0.2924, allocations: 425 kB / 1.105 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004397/0.2928, allocations: 370.4 kB / 1.106 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/0.293, allocations: 0 / 1.106 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003344/0.2934, allocations: 3.938 kB / 1.106 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/0.2934, allocations: 0 / 1.106 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.2934, allocations: 7.938 kB / 1.106 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002373/0.2958, allocations: 2.078 MB / 1.108 GB, free: 424 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2958, allocations: 4.031 kB / 1.108 GB, free: 420 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006652/0.2965, allocations: 247.9 kB / 1.108 GB, free: 172 kB / 0.8575 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.0008113/0.2973, allocations: 1.005 MB / 1.109 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004282/0.2977, allocations: 318 kB / 1.109 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.2977, allocations: 320 / 1.109 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 5.62e-05/0.2978, allocations: 43.97 kB / 1.109 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00226/0.3001, allocations: 0.7103 MB / 1.11 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01897/0.319, allocations: 18.39 MB / 1.128 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001182/0.3202, allocations: 1.807 MB / 1.13 GB, free: 8.582 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006844/0.3209, allocations: 309.2 kB / 1.13 GB, free: 8.273 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006796/0.3216, allocations: 0.6789 MB / 1.131 GB, free: 7.594 MB / 0.8887 GB Notification: Performance of SimCode: time 5.11e-07/0.3216, allocations: 0 / 1.131 GB, free: 7.594 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0648/0.3864, allocations: 43.54 MB / 1.173 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.541/7.928, allocations: 8.438 kB / 1.173 GB, free: 12.63 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches