Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,fileNamePrefix="Buildings_11_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.005195/0.005195, allocations: 98.2 kB / 15.73 MB, free: 5.988 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.001539/0.001539, allocations: 186.9 kB / 16.67 MB, free: 5.918 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.843/2.843, allocations: 469.8 MB / 0.7425 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 75.88 kB / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2717, allocations: 159.1 MB / 1.22 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.009565/0.2813, allocations: 7.855 MB / 1.228 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007111/0.2884, allocations: 5.375 MB / 1.233 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005665/0.289, allocations: 51.69 kB / 1.233 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004004/0.293, allocations: 1.71 MB / 1.235 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00117/0.2942, allocations: 0.6747 MB / 1.236 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000689/0.2949, allocations: 303.3 kB / 1.236 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002171/0.2971, allocations: 2.044 MB / 1.238 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008741/0.2979, allocations: 0.6957 MB / 1.239 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008034/0.2988, allocations: 0.7543 MB / 1.239 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001088/0.2999, allocations: 0.8824 MB / 1.24 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001845/0.3, allocations: 92 kB / 1.24 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005136/0.3006, allocations: 207.8 kB / 1.24 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003802/0.301, allocations: 366.5 kB / 1.241 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008839/0.3018, allocations: 0.8778 MB / 1.242 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002721/0.3046, allocations: 2.634 MB / 1.244 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.3046, allocations: 0 / 1.244 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3046, allocations: 4 kB / 1.244 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.558e-05/0.3046, allocations: 0 / 1.244 GB, free: 5.574 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.003349/0.308, allocations: 2.478 MB / 1.247 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.308, allocations: 8.031 kB / 1.247 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001081/0.3081, allocations: 90.7 kB / 1.247 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002702/0.3084, allocations: 223.5 kB / 1.247 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002699/0.3111, allocations: 1.737 MB / 1.249 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.844e-05/0.3112, allocations: 37 kB / 1.249 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.887e-05/0.3112, allocations: 48 kB / 1.249 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000922/0.3122, allocations: 0.5568 MB / 1.249 GB, free: 260 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.3122, allocations: 0 / 1.249 GB, free: 260 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.434e-05/0.3122, allocations: 23.94 kB / 1.249 GB, free: 236 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.3123, allocations: 12 kB / 1.249 GB, free: 224 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4905/0.8027, allocations: 0.4944 MB / 1.25 GB, free: 29.52 MB / 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.004143/0.8069, allocations: 3.233 MB / 1.253 GB, free: 28.24 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.391e-05/0.807, allocations: 61.41 kB / 1.253 GB, free: 28.21 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.959e-05/0.8071, allocations: 47.73 kB / 1.253 GB, free: 28.21 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.8071, allocations: 1.562 kB / 1.253 GB, free: 28.21 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.1e-05/0.8071, allocations: 34.75 kB / 1.253 GB, free: 28.17 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.723e-06/0.8071, allocations: 0 / 1.253 GB, free: 28.17 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0004683/0.8076, allocations: 366.9 kB / 1.253 GB, free: 28.05 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.081e-05/0.8076, allocations: 55.34 kB / 1.253 GB, free: 27.98 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003224/0.8109, allocations: 2.932 MB / 1.256 GB, free: 27.76 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.8109, allocations: 37.03 kB / 1.256 GB, free: 27.72 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006547/0.8115, allocations: 0.9379 MB / 1.257 GB, free: 27.54 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.8116, allocations: 15.45 kB / 1.257 GB, free: 27.54 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.8117, allocations: 116.5 kB / 1.257 GB, free: 27.51 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.595e-05/0.8117, allocations: 329.3 kB / 1.258 GB, free: 27.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.8119, allocations: 153 kB / 1.258 GB, free: 27.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.8122, allocations: 472.9 kB / 1.258 GB, free: 26.81 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004332/0.8127, allocations: 0.5983 MB / 1.259 GB, free: 26.39 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.8127, allocations: 2.875 kB / 1.259 GB, free: 26.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008361/0.8135, allocations: 0.7752 MB / 1.26 GB, free: 26.18 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.8136, allocations: 12.14 kB / 1.26 GB, free: 26.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.8136, allocations: 11.09 kB / 1.26 GB, free: 26.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.8136, allocations: 14.69 kB / 1.26 GB, free: 26.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003055/0.8139, allocations: 109.1 kB / 1.26 GB, free: 26.17 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/0.8139, allocations: 23.92 kB / 1.26 GB, free: 26.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005406/0.8145, allocations: 93.36 kB / 1.26 GB, free: 26.14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.8145, allocations: 28.16 kB / 1.26 GB, free: 26.14 MB / 0.9981 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.0006548/0.8152, allocations: 0.7326 MB / 1.261 GB, free: 26.01 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.8153, allocations: 217.8 kB / 1.261 GB, free: 25.89 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.8156, allocations: 224.1 kB / 1.261 GB, free: 25.86 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.8156, allocations: 4.219 kB / 1.261 GB, free: 25.86 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.8156, allocations: 3.938 kB / 1.261 GB, free: 25.86 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.8156, allocations: 0 / 1.261 GB, free: 25.86 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009313/0.8166, allocations: 0.9395 MB / 1.262 GB, free: 25.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.8166, allocations: 4.562 kB / 1.262 GB, free: 25.64 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.252e-05/0.8166, allocations: 1.375 kB / 1.262 GB, free: 25.64 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.8166, allocations: 2.203 kB / 1.262 GB, free: 25.64 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.8166, allocations: 0 / 1.262 GB, free: 25.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.8167, allocations: 2.969 kB / 1.262 GB, free: 25.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.8167, allocations: 3.938 kB / 1.262 GB, free: 25.64 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.817, allocations: 423.6 kB / 1.262 GB, free: 25.39 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003965/0.8174, allocations: 377.5 kB / 1.263 GB, free: 25.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/0.8175, allocations: 7.172 kB / 1.263 GB, free: 25.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003815/0.8179, allocations: 3.859 kB / 1.263 GB, free: 25.16 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.754e-05/0.818, allocations: 4.641 kB / 1.263 GB, free: 25.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.818, allocations: 0.9844 kB / 1.263 GB, free: 25.16 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002455/0.8204, allocations: 2.065 MB / 1.265 GB, free: 24.91 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8204, allocations: 0.8438 kB / 1.265 GB, free: 24.91 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000748/0.8212, allocations: 241.4 kB / 1.265 GB, free: 24.91 MB / 0.9981 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.0007647/0.822, allocations: 1.015 MB / 1.266 GB, free: 24.11 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004365/0.8224, allocations: 316.8 kB / 1.266 GB, free: 24.01 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.8224, allocations: 3.281 kB / 1.266 GB, free: 24.01 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.266e-05/0.8225, allocations: 40.59 kB / 1.266 GB, free: 24 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/0.8249, allocations: 0.7289 MB / 1.267 GB, free: 23.79 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01915/0.844, allocations: 16.3 MB / 1.283 GB, free: 17.15 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001248/0.8453, allocations: 1.798 MB / 1.285 GB, free: 16.24 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008963/0.8462, allocations: 314.8 kB / 1.285 GB, free: 16.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006156/0.8468, allocations: 0.6781 MB / 1.286 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/0.8468, allocations: 0 / 1.286 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07407/0.9209, allocations: 44.02 MB / 1.329 GB, free: 13.63 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.92, allocations: 0 / 1.329 GB, free: 13.63 MB / 1.014 GB (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.fmu > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches