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.001115/0.001115, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001178/0.001178, allocations: 194.4 kB / 16.25 MB, free: 6.621 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.168/1.168, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.053/2.053, allocations: 390.2 MB / 0.6643 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 67.83 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5153/0.5165, allocations: 140.4 MB / 0.9491 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.00644/0.523, allocations: 7.809 MB / 0.9567 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00816/0.5312, allocations: 5.291 MB / 0.9619 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001566/0.5328, allocations: 37.94 kB / 0.9619 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004418/0.5372, allocations: 1.638 MB / 0.9635 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001826/0.5391, allocations: 0.576 MB / 0.9641 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009217/0.54, allocations: 274.9 kB / 0.9643 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002502/0.5425, allocations: 2.059 MB / 0.9664 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008711/0.5434, allocations: 0.6922 MB / 0.967 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/0.5446, allocations: 0.7754 MB / 0.9678 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001376/0.546, allocations: 0.8916 MB / 0.9687 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003012/0.5463, allocations: 95.62 kB / 0.9688 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006655/0.547, allocations: 220.4 kB / 0.969 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003295/0.5473, allocations: 369.5 kB / 0.9693 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000789/0.5481, allocations: 0.8765 MB / 0.9702 GB, free: 9.559 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001988/0.5501, allocations: 2.39 MB / 0.9725 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.5501, allocations: 0 / 0.9725 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.133e-06/0.5501, allocations: 0.5625 kB / 0.9725 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.845e-05/0.5501, allocations: 4 kB / 0.9725 GB, free: 7.98 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.002857/0.553, allocations: 2.353 MB / 0.9748 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.553, allocations: 8.625 kB / 0.9748 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002528/0.5533, allocations: 219.7 kB / 0.975 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002153/0.5555, allocations: 1.607 MB / 0.9766 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.385e-05/0.5555, allocations: 37.69 kB / 0.9766 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.235e-05/0.5556, allocations: 49.97 kB / 0.9767 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008468/0.5564, allocations: 0.5563 MB / 0.9772 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.5565, allocations: 5.344 kB / 0.9772 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.146e-05/0.5565, allocations: 18.94 kB / 0.9772 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.5565, allocations: 12.38 kB / 0.9773 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006721/0.5572, allocations: 0.4966 MB / 0.9777 GB, free: 4.395 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.003665/0.5609, allocations: 3.258 MB / 0.9809 GB, free: 1 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.975e-05/0.561, allocations: 58.48 kB / 0.981 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.988e-05/0.561, allocations: 48.88 kB / 0.981 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.5611, allocations: 4 kB / 0.981 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.5611, allocations: 30.56 kB / 0.9811 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.5611, allocations: 0 / 0.9811 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0004468/0.5615, allocations: 358.8 kB / 0.9814 GB, free: 492 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.5616, allocations: 55.34 kB / 0.9815 GB, free: 424 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003132/0.5647, allocations: 2.958 MB / 0.9843 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.5647, allocations: 25.7 kB / 0.9844 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007329/0.5655, allocations: 0.9426 MB / 0.9853 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 1.272e-05/0.5655, allocations: 7.984 kB / 0.9853 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.5656, allocations: 118 kB / 0.9854 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.5658, allocations: 333.9 kB / 0.9857 GB, free: 12 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.566, allocations: 149 kB / 0.9859 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003867/0.5664, allocations: 481.2 kB / 0.9863 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005461/0.5669, allocations: 0.602 MB / 0.9869 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.5669, allocations: 4 kB / 0.9869 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008928/0.5678, allocations: 0.7609 MB / 0.9877 GB, free: 9.711 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.5678, allocations: 11.98 kB / 0.9877 GB, free: 9.699 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.5679, allocations: 12 kB / 0.9877 GB, free: 9.688 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.769e-05/0.5679, allocations: 15.98 kB / 0.9877 GB, free: 9.672 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.5682, allocations: 107.8 kB / 0.9878 GB, free: 9.566 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.5682, allocations: 19.92 kB / 0.9878 GB, free: 9.547 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005441/0.5687, allocations: 95.03 kB / 0.9879 GB, free: 9.453 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.5688, allocations: 31.98 kB / 0.9879 GB, free: 9.422 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.0006871/0.5695, allocations: 0.7391 MB / 0.9887 GB, free: 8.672 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/0.5697, allocations: 205.3 kB / 0.9889 GB, free: 8.469 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002587/0.5699, allocations: 223.8 kB / 0.9891 GB, free: 8.242 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.5699, allocations: 0 / 0.9891 GB, free: 8.242 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.57, allocations: 0 / 0.9891 GB, free: 8.242 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.57, allocations: 8 kB / 0.9891 GB, free: 8.234 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009002/0.5709, allocations: 0.947 MB / 0.99 GB, free: 7.238 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5709, allocations: 0 / 0.99 GB, free: 7.238 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.67e-05/0.5709, allocations: 0 / 0.99 GB, free: 7.238 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.5709, allocations: 0 / 0.99 GB, free: 7.238 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.5709, allocations: 4 kB / 0.99 GB, free: 7.234 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.5709, allocations: 0 / 0.99 GB, free: 7.234 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.571, allocations: 0 / 0.99 GB, free: 7.234 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.5713, allocations: 425 kB / 0.9904 GB, free: 6.801 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004405/0.5718, allocations: 366.4 kB / 0.9908 GB, free: 6.422 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/0.5719, allocations: 0 / 0.9908 GB, free: 6.422 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003265/0.5723, allocations: 3.984 kB / 0.9908 GB, free: 6.418 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.706e-05/0.5723, allocations: 4 kB / 0.9908 GB, free: 6.414 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.5723, allocations: 0 / 0.9908 GB, free: 6.414 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002271/0.5746, allocations: 2.074 MB / 0.9928 GB, free: 4.332 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5746, allocations: 0 / 0.9928 GB, free: 4.332 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006689/0.5753, allocations: 247.8 kB / 0.993 GB, free: 4.09 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.0003043/0.5756, allocations: 165.2 kB / 0.9932 GB, free: 3.926 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003973/0.576, allocations: 305.3 kB / 0.9935 GB, free: 3.629 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.576, allocations: 0 / 0.9935 GB, free: 3.629 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 5.644e-05/0.576, allocations: 43.95 kB / 0.9935 GB, free: 3.586 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/0.5783, allocations: 0.7204 MB / 0.9942 GB, free: 2.883 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003882/0.5822, allocations: 3.797 MB / 0.9979 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/0.5834, allocations: 1.8 MB / 0.9997 GB, free: 13.21 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0007412/0.5841, allocations: 346.9 kB / 1 GB, free: 12.87 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.5843, allocations: 103.4 kB / 1 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of SimCode: time 2.31e-07/0.5843, allocations: 0 / 1 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of Templates: time 0.03665/0.621, allocations: 25.16 MB / 1.025 GB, free: 4.012 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