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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.004184/0.004184, allocations: 96.48 kB / 15.73 MB, free: 6.484 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.001216/0.001216, allocations: 192.1 kB / 16.67 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.908/2.908, allocations: 482.4 MB / 0.7548 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 67.89 kB / 1.083 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2801, allocations: 162.2 MB / 1.242 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.009594/0.2897, allocations: 7.854 MB / 1.249 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.4928/0.7825, allocations: 5.366 MB / 1.254 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.7838, allocations: 47.75 kB / 1.255 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004244/0.788, allocations: 1.714 MB / 1.256 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001521/0.7896, allocations: 0.6536 MB / 1.257 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007936/0.7904, allocations: 307 kB / 1.257 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001852/0.7923, allocations: 2.048 MB / 1.259 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007452/0.793, allocations: 0.6977 MB / 1.26 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007267/0.7938, allocations: 0.7545 MB / 1.261 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008804/0.7946, allocations: 0.8723 MB / 1.261 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001847/0.7948, allocations: 93.16 kB / 1.261 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005155/0.7954, allocations: 218.1 kB / 1.262 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003108/0.7957, allocations: 361.1 kB / 1.262 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007263/0.7964, allocations: 0.8726 MB / 1.263 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002175/0.7986, allocations: 2.639 MB / 1.265 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.7986, allocations: 2.688 kB / 1.265 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.113e-06/0.7986, allocations: 0 / 1.265 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.048e-05/0.7986, allocations: 0.5156 kB / 1.265 GB, free: 3.402 MB / 0.9981 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.002654/0.8013, allocations: 2.48 MB / 1.268 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.8013, allocations: 7.688 kB / 1.268 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.348e-05/0.8014, allocations: 97.48 kB / 1.268 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002087/0.8016, allocations: 224.1 kB / 1.268 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002173/0.8038, allocations: 1.728 MB / 1.27 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.8039, allocations: 37.97 kB / 1.27 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.725e-05/0.8039, allocations: 51.28 kB / 1.27 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007836/0.8047, allocations: 0.5528 MB / 1.271 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.8047, allocations: 4 kB / 1.271 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/0.8048, allocations: 19.62 kB / 1.271 GB, free: 492 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.8048, allocations: 12.22 kB / 1.271 GB, free: 492 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007191/0.8055, allocations: 0.5007 MB / 1.271 GB, free: 344 kB / 0.9981 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.004199/0.8097, allocations: 3.237 MB / 1.274 GB, free: 14.37 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.8099, allocations: 64.55 kB / 1.274 GB, free: 14.33 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.953e-05/0.8099, allocations: 49.89 kB / 1.274 GB, free: 14.31 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.8099, allocations: 3.938 kB / 1.274 GB, free: 14.31 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.81, allocations: 34.31 kB / 1.274 GB, free: 14.27 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 3.236e-06/0.81, allocations: 3.984 kB / 1.274 GB, free: 14.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0005183/0.8105, allocations: 366.7 kB / 1.275 GB, free: 14.09 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.8106, allocations: 53.61 kB / 1.275 GB, free: 14.02 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004085/0.8147, allocations: 2.933 MB / 1.278 GB, free: 13.09 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.8147, allocations: 27.61 kB / 1.278 GB, free: 13.05 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009996/0.8157, allocations: 0.944 MB / 1.279 GB, free: 12.31 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.393e-05/0.8157, allocations: 5.25 kB / 1.279 GB, free: 12.31 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.8159, allocations: 120.9 kB / 1.279 GB, free: 12.25 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.8161, allocations: 329.8 kB / 1.279 GB, free: 11.93 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/0.8163, allocations: 156.6 kB / 1.279 GB, free: 11.89 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005062/0.8168, allocations: 469.4 kB / 1.28 GB, free: 11.43 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007132/0.8175, allocations: 0.6054 MB / 1.28 GB, free: 10.89 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.8175, allocations: 2.625 kB / 1.28 GB, free: 10.89 MB / 1.014 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001091/0.8186, allocations: 0.7751 MB / 1.281 GB, free: 10.55 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.8187, allocations: 10.62 kB / 1.281 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.8187, allocations: 11.14 kB / 1.281 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/0.8187, allocations: 14.16 kB / 1.281 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.819, allocations: 107.3 kB / 1.281 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.202e-05/0.8191, allocations: 20.48 kB / 1.281 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005701/0.8197, allocations: 90.92 kB / 1.281 GB, free: 10.47 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.673e-05/0.8197, allocations: 28.69 kB / 1.281 GB, free: 10.46 MB / 1.014 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.0008646/0.8206, allocations: 0.7401 MB / 1.282 GB, free: 10.14 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002364/0.8208, allocations: 217 kB / 1.282 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003068/0.8211, allocations: 224.4 kB / 1.282 GB, free: 9.941 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.8211, allocations: 0 / 1.282 GB, free: 9.941 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.8211, allocations: 4 kB / 1.282 GB, free: 9.938 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.8212, allocations: 1.312 kB / 1.282 GB, free: 9.938 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.8224, allocations: 0.9395 MB / 1.283 GB, free: 9.492 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.8224, allocations: 0 / 1.283 GB, free: 9.492 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.393e-05/0.8224, allocations: 2.25 kB / 1.283 GB, free: 9.492 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.8224, allocations: 0 / 1.283 GB, free: 9.492 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.8224, allocations: 1.125 kB / 1.283 GB, free: 9.492 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.8225, allocations: 0 / 1.283 GB, free: 9.492 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.8225, allocations: 1.938 kB / 1.283 GB, free: 9.492 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004522/0.8229, allocations: 435.1 kB / 1.284 GB, free: 9.207 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005166/0.8234, allocations: 372.9 kB / 1.284 GB, free: 8.953 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/0.8236, allocations: 0.6094 kB / 1.284 GB, free: 8.953 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003564/0.824, allocations: 2.719 kB / 1.284 GB, free: 8.953 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.131e-05/0.824, allocations: 0 / 1.284 GB, free: 8.953 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.824, allocations: 6.047 kB / 1.284 GB, free: 8.949 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002782/0.8268, allocations: 2.066 MB / 1.286 GB, free: 8.266 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8268, allocations: 0 / 1.286 GB, free: 8.266 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007042/0.8275, allocations: 249.1 kB / 1.286 GB, free: 8.242 MB / 1.014 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.001024/0.8286, allocations: 1.033 MB / 1.287 GB, free: 7.422 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004639/0.829, allocations: 309.5 kB / 1.288 GB, free: 7.332 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.8291, allocations: 0 / 1.288 GB, free: 7.332 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 6.507e-05/0.8291, allocations: 46.86 kB / 1.288 GB, free: 7.32 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002538/0.8317, allocations: 0.7133 MB / 1.288 GB, free: 7.082 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02163/0.8533, allocations: 16.29 MB / 1.304 GB, free: 440 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001582/0.8549, allocations: 1.805 MB / 1.306 GB, free: 15.51 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0008588/0.8558, allocations: 303.7 kB / 1.306 GB, free: 15.46 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008699/0.8567, allocations: 0.6796 MB / 1.307 GB, free: 14.92 MB / 1.029 GB Notification: Performance of SimCode: time 8.11e-07/0.8567, allocations: 4 kB / 1.307 GB, free: 14.92 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07923/0.9359, allocations: 44.02 MB / 1.35 GB, free: 6.82 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/12.03, allocations: 10.55 kB / 1.35 GB, free: 6.812 MB / 1.045 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 400 --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