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.001202/0.001202, 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.001382/0.001382, allocations: 192.7 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.203/1.203, allocations: 222.9 MB / 240.2 MB, free: 4.367 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.073/2.073, allocations: 390.2 MB / 0.6647 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 63.91 kB / 0.8125 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4998/0.5009, allocations: 140.4 MB / 0.9496 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.0063/0.5073, allocations: 7.851 MB / 0.9573 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00603/0.5133, allocations: 5.379 MB / 0.9625 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009293/0.5143, allocations: 42.16 kB / 0.9626 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004437/0.5188, allocations: 1.711 MB / 0.9642 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002116/0.5209, allocations: 0.6558 MB / 0.9649 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008706/0.5218, allocations: 296.8 kB / 0.9651 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001979/0.5238, allocations: 2.038 MB / 0.9671 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007684/0.5245, allocations: 0.6973 MB / 0.9678 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008153/0.5254, allocations: 0.7543 MB / 0.9686 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009517/0.5263, allocations: 0.8805 MB / 0.9694 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001648/0.5265, allocations: 96.19 kB / 0.9695 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004968/0.527, allocations: 211.4 kB / 0.9697 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003241/0.5273, allocations: 377.5 kB / 0.9701 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000752/0.5281, allocations: 0.8783 MB / 0.9709 GB, free: 9.309 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002064/0.5302, allocations: 2.391 MB / 0.9733 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.5302, allocations: 1.281 kB / 0.9733 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5302, allocations: 0 / 0.9733 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.96e-05/0.5302, allocations: 0 / 0.9733 GB, free: 7.734 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.002951/0.5332, allocations: 2.358 MB / 0.9756 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.5332, allocations: 9.031 kB / 0.9756 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002605/0.5335, allocations: 215.4 kB / 0.9758 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002178/0.5357, allocations: 1.607 MB / 0.9773 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/0.5357, allocations: 42.75 kB / 0.9774 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.081e-05/0.5358, allocations: 53.62 kB / 0.9774 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007842/0.5366, allocations: 0.5615 MB / 0.978 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.5366, allocations: 0 / 0.978 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.109e-05/0.5366, allocations: 16.47 kB / 0.978 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.5367, allocations: 10.81 kB / 0.978 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006664/0.5373, allocations: 0.4931 MB / 0.9785 GB, free: 4.016 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.003848/0.5412, allocations: 3.27 MB / 0.9817 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.137e-05/0.5413, allocations: 58.47 kB / 0.9817 GB, free: 440 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.337e-05/0.5413, allocations: 44.89 kB / 0.9818 GB, free: 392 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.5414, allocations: 0 / 0.9818 GB, free: 392 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.5414, allocations: 34.55 kB / 0.9818 GB, free: 348 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.5414, allocations: 0 / 0.9818 GB, free: 348 kB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0004862/0.5419, allocations: 363 kB / 0.9822 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.5419, allocations: 51.41 kB / 0.9822 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00323/0.5452, allocations: 2.958 MB / 0.9851 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.5452, allocations: 25.7 kB / 0.9851 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007582/0.546, allocations: 0.9347 MB / 0.986 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 1.378e-05/0.546, allocations: 11.98 kB / 0.9861 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.5461, allocations: 118 kB / 0.9862 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.5462, allocations: 330 kB / 0.9865 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.5464, allocations: 153 kB / 0.9866 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003937/0.5468, allocations: 469.2 kB / 0.9871 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005535/0.5474, allocations: 0.6057 MB / 0.9877 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-05/0.5474, allocations: 4 kB / 0.9877 GB, free: 9.992 MB / 0.7481 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009351/0.5484, allocations: 0.7604 MB / 0.9884 GB, free: 9.223 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.5484, allocations: 12 kB / 0.9884 GB, free: 9.211 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.5484, allocations: 12 kB / 0.9884 GB, free: 9.199 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.5484, allocations: 16 kB / 0.9884 GB, free: 9.184 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.5487, allocations: 104.4 kB / 0.9885 GB, free: 9.082 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/0.5488, allocations: 23.92 kB / 0.9886 GB, free: 9.059 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006666/0.5494, allocations: 94.91 kB / 0.9887 GB, free: 8.965 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.5495, allocations: 28 kB / 0.9887 GB, free: 8.938 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.0007209/0.5502, allocations: 0.743 MB / 0.9894 GB, free: 8.184 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/0.5504, allocations: 201.4 kB / 0.9896 GB, free: 7.984 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.5506, allocations: 231.7 kB / 0.9898 GB, free: 7.75 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.5506, allocations: 0 / 0.9898 GB, free: 7.75 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.5507, allocations: 0 / 0.9898 GB, free: 7.75 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.5507, allocations: 0 / 0.9898 GB, free: 7.75 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008886/0.5515, allocations: 0.9509 MB / 0.9908 GB, free: 6.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5516, allocations: 0 / 0.9908 GB, free: 6.75 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.079e-05/0.5516, allocations: 0 / 0.9908 GB, free: 6.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.5516, allocations: 0 / 0.9908 GB, free: 6.75 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.5516, allocations: 0 / 0.9908 GB, free: 6.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.5516, allocations: 0 / 0.9908 GB, free: 6.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.5516, allocations: 0 / 0.9908 GB, free: 6.75 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.552, allocations: 429 kB / 0.9912 GB, free: 6.312 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000437/0.5525, allocations: 366.4 kB / 0.9915 GB, free: 5.934 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/0.5526, allocations: 0 / 0.9915 GB, free: 5.934 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003155/0.553, allocations: 0 / 0.9915 GB, free: 5.934 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.419e-05/0.553, allocations: 7.984 kB / 0.9915 GB, free: 5.926 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/0.553, allocations: 0 / 0.9915 GB, free: 5.926 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002243/0.5552, allocations: 2.078 MB / 0.9935 GB, free: 3.84 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5553, allocations: 4.031 kB / 0.9936 GB, free: 3.836 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000685/0.5559, allocations: 243.8 kB / 0.9938 GB, free: 3.598 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.0002952/0.5562, allocations: 149.7 kB / 0.9939 GB, free: 3.449 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003989/0.5567, allocations: 308.4 kB / 0.9942 GB, free: 3.148 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5567, allocations: 1.938 kB / 0.9942 GB, free: 3.148 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 5.752e-05/0.5567, allocations: 43.95 kB / 0.9943 GB, free: 3.105 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/0.5589, allocations: 0.7319 MB / 0.995 GB, free: 2.391 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/0.5626, allocations: 3.382 MB / 0.9983 GB, free: 14.97 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/0.5638, allocations: 1.804 MB / 1 GB, free: 13.13 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0006399/0.5644, allocations: 305.3 kB / 1 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.5646, allocations: 87.44 kB / 1 GB, free: 12.74 MB / 0.7637 GB Notification: Performance of SimCode: time 6.61e-07/0.5646, allocations: 0 / 1 GB, free: 12.74 MB / 0.7637 GB Notification: Performance of Templates: time 0.0361/0.6007, allocations: 24.82 MB / 1.025 GB, free: 4.32 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