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: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|radTem.TRad",fileNamePrefix="Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|radTem.TRad",fileNamePrefix="Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001198/0.001198, allocations: 192.2 kB / 16.14 MB, free: 6.691 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.176/1.176, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.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.024/2.024, allocations: 390.2 MB / 0.6642 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001051, allocations: 59.91 kB / 0.8118 GB, free: 14.92 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.494/0.495, allocations: 140.4 MB / 0.9489 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.005885/0.501, allocations: 7.805 MB / 0.9565 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005524/0.5065, allocations: 5.305 MB / 0.9617 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006694/0.5072, allocations: 42.28 kB / 0.9618 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003502/0.5107, allocations: 1.607 MB / 0.9633 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001106/0.5118, allocations: 0.5903 MB / 0.9639 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006531/0.5125, allocations: 260.1 kB / 0.9641 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001926/0.5144, allocations: 2.342 MB / 0.9664 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006599/0.5151, allocations: 0.6351 MB / 0.9671 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007718/0.5159, allocations: 0.712 MB / 0.9678 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008415/0.5167, allocations: 0.8744 MB / 0.9686 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001389/0.5169, allocations: 78.62 kB / 0.9687 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004484/0.5173, allocations: 197.4 kB / 0.9689 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000296/0.5176, allocations: 346 kB / 0.9692 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007044/0.5184, allocations: 0.8603 MB / 0.97 GB, free: 9.555 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.52, allocations: 2.242 MB / 0.9722 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.52, allocations: 0 / 0.9722 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of FrontEnd: time 8.82e-07/0.52, allocations: 0 / 0.9722 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.823e-05/0.52, allocations: 0 / 0.9722 GB, free: 8.055 MB / 0.7325 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.002806/0.5228, allocations: 2.307 MB / 0.9745 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.5229, allocations: 9.406 kB / 0.9745 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002471/0.5231, allocations: 215.9 kB / 0.9747 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/0.5252, allocations: 1.604 MB / 0.9763 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.5252, allocations: 38.12 kB / 0.9763 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.686e-05/0.5253, allocations: 49.28 kB / 0.9763 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007978/0.5261, allocations: 0.5568 MB / 0.9769 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.5261, allocations: 0 / 0.9769 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.202e-05/0.5262, allocations: 24.72 kB / 0.9769 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.5262, allocations: 11.69 kB / 0.9769 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006639/0.5269, allocations: 0.4971 MB / 0.9774 GB, free: 4.5 MB / 0.7325 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.003771/0.5307, allocations: 3.26 MB / 0.9806 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.306e-05/0.5307, allocations: 66.47 kB / 0.9807 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.796e-05/0.5308, allocations: 44.88 kB / 0.9807 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.5308, allocations: 0 / 0.9807 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.5309, allocations: 34.56 kB / 0.9807 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.5309, allocations: 0 / 0.9807 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0004654/0.5313, allocations: 358.9 kB / 0.9811 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.5314, allocations: 63.33 kB / 0.9811 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003115/0.5345, allocations: 2.954 MB / 0.984 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.5345, allocations: 29.7 kB / 0.984 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007466/0.5353, allocations: 0.9386 MB / 0.985 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.5353, allocations: 11.98 kB / 0.985 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.5354, allocations: 114 kB / 0.9851 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.5355, allocations: 326.1 kB / 0.9854 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.5357, allocations: 161 kB / 0.9855 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003863/0.5361, allocations: 469.3 kB / 0.986 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005397/0.5367, allocations: 0.6058 MB / 0.9866 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.5367, allocations: 4 kB / 0.9866 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008942/0.5376, allocations: 0.7565 MB / 0.9873 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.5376, allocations: 13.34 kB / 0.9873 GB, free: 9.953 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.5376, allocations: 12 kB / 0.9874 GB, free: 9.941 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.5376, allocations: 16 kB / 0.9874 GB, free: 9.926 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.5379, allocations: 108.5 kB / 0.9875 GB, free: 9.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718e-05/0.538, allocations: 23.94 kB / 0.9875 GB, free: 9.797 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006269/0.5386, allocations: 94.95 kB / 0.9876 GB, free: 9.703 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/0.5386, allocations: 28 kB / 0.9876 GB, free: 9.676 MB / 0.7481 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.0006989/0.5393, allocations: 0.7391 MB / 0.9883 GB, free: 8.926 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/0.5395, allocations: 209.4 kB / 0.9885 GB, free: 8.719 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002452/0.5398, allocations: 215.8 kB / 0.9887 GB, free: 8.5 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.5398, allocations: 4 kB / 0.9887 GB, free: 8.496 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5398, allocations: 3.984 kB / 0.9887 GB, free: 8.492 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-06/0.5398, allocations: 0 / 0.9887 GB, free: 8.492 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009012/0.5407, allocations: 0.9431 MB / 0.9897 GB, free: 7.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5407, allocations: 0 / 0.9897 GB, free: 7.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.918e-05/0.5408, allocations: 4 kB / 0.9897 GB, free: 7.496 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.5408, allocations: 0 / 0.9897 GB, free: 7.496 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.5408, allocations: 7.984 kB / 0.9897 GB, free: 7.488 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.5408, allocations: 0 / 0.9897 GB, free: 7.488 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.5408, allocations: 0 / 0.9897 GB, free: 7.488 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.5411, allocations: 429 kB / 0.9901 GB, free: 7.051 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004246/0.5416, allocations: 362.4 kB / 0.9904 GB, free: 6.676 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.5417, allocations: 0 / 0.9904 GB, free: 6.676 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003221/0.5421, allocations: 4 kB / 0.9904 GB, free: 6.672 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.821e-05/0.5421, allocations: 0 / 0.9904 GB, free: 6.672 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.5421, allocations: 4.031 kB / 0.9904 GB, free: 6.668 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00226/0.5444, allocations: 2.086 MB / 0.9925 GB, free: 4.574 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5444, allocations: 0 / 0.9925 GB, free: 4.574 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000664/0.545, allocations: 243.8 kB / 0.9927 GB, free: 4.336 MB / 0.7481 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.0002976/0.5453, allocations: 150.1 kB / 0.9929 GB, free: 4.188 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003936/0.5457, allocations: 317.4 kB / 0.9932 GB, free: 3.879 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.5458, allocations: 0.9375 kB / 0.9932 GB, free: 3.879 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 5.448e-05/0.5458, allocations: 35.97 kB / 0.9932 GB, free: 3.844 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0022/0.548, allocations: 0.6693 MB / 0.9938 GB, free: 3.18 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003866/0.5519, allocations: 3.778 MB / 0.9975 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/0.5531, allocations: 1.808 MB / 0.9993 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0006428/0.5537, allocations: 297.3 kB / 0.9996 GB, free: 13.22 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.5539, allocations: 87.44 kB / 0.9997 GB, free: 13.13 MB / 0.7637 GB Notification: Performance of SimCode: time 2.41e-07/0.5539, allocations: 0 / 0.9997 GB, free: 13.13 MB / 0.7637 GB Notification: Performance of Templates: time 0.03357/0.5875, allocations: 23.93 MB / 1.023 GB, free: 5.582 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.makefile (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 & ./Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.csv","/var/lib/jenkins/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