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.001274/0.001274, 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.001339/0.001339, allocations: 191.9 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.289/1.289, 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 10.1.1-maint.10.0.x/package.mo): time 2.474/2.474, allocations: 437 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 63.91 kB / 0.8693 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5188/0.5201, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.0088/0.5289, allocations: 7.851 MB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00734/0.5363, allocations: 5.394 MB / 1.03 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.5375, allocations: 47.75 kB / 1.03 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.004284/0.5418, allocations: 1.706 MB / 1.032 GB, free: 3.422 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001645/0.5435, allocations: 0.6514 MB / 1.033 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007179/0.5442, allocations: 299 kB / 1.033 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001692/0.5459, allocations: 2.025 MB / 1.035 GB, free: 452 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007181/0.5466, allocations: 0.7113 MB / 1.036 GB, free: 15.71 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006469/0.5473, allocations: 0.7504 MB / 1.036 GB, free: 14.96 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008629/0.5481, allocations: 0.8785 MB / 1.037 GB, free: 14.07 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001653/0.5483, allocations: 96 kB / 1.037 GB, free: 13.98 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004457/0.5488, allocations: 223.8 kB / 1.038 GB, free: 13.76 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003001/0.5491, allocations: 374.5 kB / 1.038 GB, free: 13.39 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0006884/0.5498, allocations: 0.87 MB / 1.039 GB, free: 12.52 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001827/0.5516, allocations: 2.394 MB / 1.041 GB, free: 10.12 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5516, allocations: 0 / 1.041 GB, free: 10.12 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5516, allocations: 4 kB / 1.041 GB, free: 10.11 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.571e-05/0.5517, allocations: 0 / 1.041 GB, free: 10.11 MB / 0.795 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.002708/0.5544, allocations: 2.35 MB / 1.043 GB, free: 7.695 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.5544, allocations: 8.031 kB / 1.043 GB, free: 7.688 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.368e-05/0.5545, allocations: 90.72 kB / 1.043 GB, free: 7.59 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002329/0.5547, allocations: 214.2 kB / 1.044 GB, free: 7.379 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002051/0.5568, allocations: 1.61 MB / 1.045 GB, free: 5.699 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.5568, allocations: 37 kB / 1.045 GB, free: 5.66 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.409e-05/0.5569, allocations: 52 kB / 1.045 GB, free: 5.609 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007905/0.5577, allocations: 0.5569 MB / 1.046 GB, free: 5.047 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.5577, allocations: 0 / 1.046 GB, free: 5.047 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.013e-05/0.5578, allocations: 20 kB / 1.046 GB, free: 5.027 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.5578, allocations: 12 kB / 1.046 GB, free: 5.016 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006676/0.5585, allocations: 0.4995 MB / 1.046 GB, free: 4.52 MB / 0.795 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.003706/0.5622, allocations: 3.262 MB / 1.05 GB, free: 1.012 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.513e-05/0.5623, allocations: 54.55 kB / 1.05 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.32e-05/0.5623, allocations: 52.81 kB / 1.05 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.5624, allocations: 0 / 1.05 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.5624, allocations: 34.56 kB / 1.05 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 3.186e-06/0.5624, allocations: 0 / 1.05 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0004495/0.5629, allocations: 354.9 kB / 1.05 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.5629, allocations: 59.41 kB / 1.05 GB, free: 436 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003221/0.5661, allocations: 2.955 MB / 1.053 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.5662, allocations: 25.7 kB / 1.053 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007734/0.5669, allocations: 0.9386 MB / 1.054 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.567, allocations: 11.97 kB / 1.054 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.5671, allocations: 118 kB / 1.054 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.5672, allocations: 333.9 kB / 1.054 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.5674, allocations: 152.9 kB / 1.055 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003817/0.5678, allocations: 473.2 kB / 1.055 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005369/0.5684, allocations: 0.602 MB / 1.056 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.5684, allocations: 4 kB / 1.056 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009155/0.5693, allocations: 0.7606 MB / 1.056 GB, free: 9.73 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.5693, allocations: 9.562 kB / 1.056 GB, free: 9.723 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.5693, allocations: 15.98 kB / 1.056 GB, free: 9.707 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.5694, allocations: 16 kB / 1.056 GB, free: 9.691 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002975/0.5697, allocations: 103.8 kB / 1.056 GB, free: 9.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-05/0.5697, allocations: 27.86 kB / 1.056 GB, free: 9.562 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005038/0.5702, allocations: 87.34 kB / 1.057 GB, free: 9.477 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/0.5702, allocations: 28 kB / 1.057 GB, free: 9.449 MB / 0.8106 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.0006808/0.5709, allocations: 0.743 MB / 1.057 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.5711, allocations: 201.4 kB / 1.058 GB, free: 8.496 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002527/0.5714, allocations: 223.8 kB / 1.058 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.5714, allocations: 3.984 kB / 1.058 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.5714, allocations: 4 kB / 1.058 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.5714, allocations: 0 / 1.058 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008985/0.5723, allocations: 0.947 MB / 1.059 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5723, allocations: 4 kB / 1.059 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.347e-05/0.5724, allocations: 4 kB / 1.059 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.5724, allocations: 3.984 kB / 1.059 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.5724, allocations: 0 / 1.059 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5724, allocations: 0 / 1.059 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5724, allocations: 0 / 1.059 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00035/0.5728, allocations: 425.1 kB / 1.059 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004351/0.5732, allocations: 366.3 kB / 1.059 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/0.5734, allocations: 4 kB / 1.059 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003297/0.5737, allocations: 0 / 1.059 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.494e-05/0.5737, allocations: 0 / 1.059 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.5737, allocations: 0 / 1.059 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002334/0.5761, allocations: 2.086 MB / 1.061 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5761, allocations: 0 / 1.061 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006622/0.5768, allocations: 239.9 kB / 1.062 GB, free: 4.109 MB / 0.8106 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.0007952/0.5776, allocations: 1.011 MB / 1.063 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004172/0.578, allocations: 309.5 kB / 1.063 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.578, allocations: 4.812 kB / 1.063 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.964e-05/0.5781, allocations: 47.89 kB / 1.063 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/0.5803, allocations: 0.7152 MB / 1.064 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01881/0.5991, allocations: 18.38 MB / 1.082 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/0.6004, allocations: 1.808 MB / 1.083 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0008033/0.6012, allocations: 301.3 kB / 1.084 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007503/0.6019, allocations: 0.6789 MB / 1.084 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of SimCode: time 5.81e-07/0.6019, allocations: 0 / 1.084 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06633/0.6683, allocations: 43.54 MB / 1.127 GB, free: 0.6172 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.691/8.359, allocations: 17.62 kB / 1.127 GB, free: 0.6016 MB / 0.8731 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