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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|radTem.TRad",fileNamePrefix="Buildings_10_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_10_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.001608/0.001608, allocations: 119.9 kB / 16.37 MB, free: 6.016 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.001673/0.001673, allocations: 193 kB / 17.31 MB, free: 5.613 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.385/2.385, allocations: 437.1 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 68.55 kB / 0.8707 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2518, allocations: 151.6 MB / 1.019 GB, free: 9.805 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.008031/0.2599, allocations: 7.866 MB / 1.026 GB, free: 1.895 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.006718/0.2666, allocations: 5.378 MB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007756/0.2674, allocations: 47.75 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.003735/0.2712, allocations: 1.714 MB / 1.033 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001269/0.2725, allocations: 0.6553 MB / 1.034 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007643/0.2733, allocations: 306.9 kB / 1.034 GB, free: 9.77 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001962/0.2753, allocations: 2.046 MB / 1.036 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007379/0.276, allocations: 0.6957 MB / 1.037 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007594/0.2768, allocations: 0.7543 MB / 1.038 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009212/0.2777, allocations: 0.8746 MB / 1.039 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.2779, allocations: 96 kB / 1.039 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000433/0.2783, allocations: 211.8 kB / 1.039 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003134/0.2786, allocations: 370.5 kB / 1.039 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0007243/0.2794, allocations: 0.8739 MB / 1.04 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001909/0.2813, allocations: 2.398 MB / 1.042 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.2813, allocations: 0 / 1.042 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2813, allocations: 4 kB / 1.042 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.294e-05/0.2813, allocations: 0 / 1.042 GB, free: 1.414 MB / 0.8106 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.003084/0.2844, allocations: 2.343 MB / 1.045 GB, free: 15 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.2845, allocations: 12.03 kB / 1.045 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000233/0.2847, allocations: 214.2 kB / 1.045 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002516/0.2872, allocations: 1.708 MB / 1.047 GB, free: 13 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.2873, allocations: 37 kB / 1.047 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.836e-05/0.2874, allocations: 52 kB / 1.047 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008087/0.2882, allocations: 0.549 MB / 1.047 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.2882, allocations: 0 / 1.047 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.423e-05/0.2882, allocations: 24 kB / 1.047 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.2883, allocations: 15.98 kB / 1.047 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007162/0.289, allocations: 0.4957 MB / 1.048 GB, free: 11.82 MB / 0.8262 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.004121/0.2931, allocations: 3.239 MB / 1.051 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.758e-05/0.2932, allocations: 50.55 kB / 1.051 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.342e-05/0.2933, allocations: 52.81 kB / 1.051 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.2933, allocations: 0 / 1.051 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.2933, allocations: 34.56 kB / 1.051 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.392e-06/0.2933, allocations: 0 / 1.051 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0004862/0.2938, allocations: 362.9 kB / 1.051 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.2939, allocations: 51.41 kB / 1.051 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003396/0.2973, allocations: 2.935 MB / 1.054 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.2973, allocations: 25.7 kB / 1.054 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008171/0.2981, allocations: 0.9386 MB / 1.055 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.2982, allocations: 11.91 kB / 1.055 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.2983, allocations: 118.2 kB / 1.055 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2984, allocations: 326 kB / 1.056 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.2986, allocations: 153 kB / 1.056 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000409/0.299, allocations: 469.2 kB / 1.056 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005614/0.2996, allocations: 0.6096 MB / 1.057 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.2996, allocations: 4 kB / 1.057 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009605/0.3006, allocations: 0.7609 MB / 1.058 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.3006, allocations: 12 kB / 1.058 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.3006, allocations: 8.094 kB / 1.058 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.3007, allocations: 20 kB / 1.058 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/0.301, allocations: 103.8 kB / 1.058 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/0.301, allocations: 23.88 kB / 1.058 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005977/0.3016, allocations: 87.05 kB / 1.058 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.3e-05/0.3017, allocations: 28 kB / 1.058 GB, free: 0.8086 MB / 0.8262 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.0007208/0.3024, allocations: 0.7392 MB / 1.059 GB, free: 60 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002007/0.3026, allocations: 201.4 kB / 1.059 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002692/0.3029, allocations: 223.7 kB / 1.059 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.3029, allocations: 0 / 1.059 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.3029, allocations: 0 / 1.059 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3029, allocations: 0 / 1.059 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009442/0.3038, allocations: 0.9392 MB / 1.06 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3039, allocations: 3.938 kB / 1.06 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.305e-05/0.3039, allocations: 4 kB / 1.06 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3039, allocations: 4 kB / 1.06 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.3039, allocations: 0 / 1.06 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3039, allocations: 3.938 kB / 1.06 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3039, allocations: 0 / 1.06 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000358/0.3043, allocations: 425 kB / 1.06 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000594/0.3049, allocations: 366.4 kB / 1.061 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/0.3051, allocations: 3.984 kB / 1.061 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003651/0.3055, allocations: 4 kB / 1.061 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.698e-05/0.3055, allocations: 4.031 kB / 1.061 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.3055, allocations: 3.938 kB / 1.061 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002468/0.308, allocations: 2.062 MB / 1.063 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.1e-07/0.308, allocations: 0 / 1.063 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006926/0.3087, allocations: 240 kB / 1.063 GB, free: 11.5 MB / 0.8419 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.0003516/0.309, allocations: 146.7 kB / 1.063 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004515/0.3095, allocations: 314 kB / 1.063 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3095, allocations: 320 / 1.063 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.932e-05/0.3096, allocations: 43.95 kB / 1.063 GB, free: 11 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00231/0.3119, allocations: 0.7209 MB / 1.064 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004042/0.316, allocations: 3.331 MB / 1.067 GB, free: 6.93 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00134/0.3173, allocations: 1.804 MB / 1.069 GB, free: 5.09 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0006749/0.318, allocations: 313.3 kB / 1.07 GB, free: 4.777 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.3182, allocations: 95.42 kB / 1.07 GB, free: 4.688 MB / 0.8419 GB Notification: Performance of SimCode: time 3.81e-07/0.3182, allocations: 4 kB / 1.07 GB, free: 4.684 MB / 0.8419 GB Notification: Performance of Templates: time 0.4817/0.7999, allocations: 24.7 MB / 1.094 GB, free: 56.65 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.makefile (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 & ./Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat","/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