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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001453/0.001453, allocations: 110.1 kB / 16.41 MB, free: 6.461 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.001424/0.001425, allocations: 189.2 kB / 17.34 MB, free: 5.715 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.367/2.367, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 67.89 kB / 1.019 GB, free: 9.238 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6601/0.6619, allocations: 151.6 MB / 1.167 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.008839/0.6707, allocations: 7.855 MB / 1.175 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.007288/0.6781, allocations: 5.386 MB / 1.18 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007467/0.6788, allocations: 59.69 kB / 1.18 GB, free: 6.395 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003804/0.6826, allocations: 1.727 MB / 1.182 GB, free: 4.66 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.6841, allocations: 0.6708 MB / 1.183 GB, free: 3.984 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000767/0.6848, allocations: 296.7 kB / 1.183 GB, free: 3.695 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002121/0.687, allocations: 2.043 MB / 1.185 GB, free: 1.645 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008247/0.6878, allocations: 0.6918 MB / 1.186 GB, free: 0.9336 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008736/0.6887, allocations: 0.7816 MB / 1.187 GB, free: 148 kB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.6897, allocations: 0.8746 MB / 1.187 GB, free: 15.27 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.6899, allocations: 92 kB / 1.187 GB, free: 15.18 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004481/0.6903, allocations: 215.8 kB / 1.188 GB, free: 14.96 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003325/0.6906, allocations: 370.5 kB / 1.188 GB, free: 14.6 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007685/0.6914, allocations: 0.8739 MB / 1.189 GB, free: 13.72 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002549/0.694, allocations: 2.634 MB / 1.191 GB, free: 11.08 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.694, allocations: 0 / 1.191 GB, free: 11.08 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.403e-06/0.694, allocations: 0 / 1.191 GB, free: 11.08 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.614e-05/0.694, allocations: 0 / 1.191 GB, free: 11.08 MB / 0.92 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.003162/0.6972, allocations: 2.482 MB / 1.194 GB, free: 8.523 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.6972, allocations: 8.031 kB / 1.194 GB, free: 8.516 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002577/0.6975, allocations: 223.5 kB / 1.194 GB, free: 8.297 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002494/0.7, allocations: 1.738 MB / 1.196 GB, free: 6.492 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/0.7, allocations: 40.98 kB / 1.196 GB, free: 6.453 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-05/0.7001, allocations: 52 kB / 1.196 GB, free: 6.402 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008307/0.701, allocations: 0.5529 MB / 1.196 GB, free: 5.844 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.701, allocations: 3.938 kB / 1.196 GB, free: 5.84 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.289e-05/0.701, allocations: 16 kB / 1.196 GB, free: 5.824 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.701, allocations: 12 kB / 1.196 GB, free: 5.812 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007361/0.7018, allocations: 0.4957 MB / 1.197 GB, free: 5.316 MB / 0.92 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.004117/0.7059, allocations: 3.236 MB / 1.2 GB, free: 1.84 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.866e-05/0.706, allocations: 62.47 kB / 1.2 GB, free: 1.77 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.58e-05/0.7061, allocations: 44.88 kB / 1.2 GB, free: 1.723 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.7061, allocations: 4 kB / 1.2 GB, free: 1.719 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.7061, allocations: 34.56 kB / 1.2 GB, free: 1.676 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.7062, allocations: 0 / 1.2 GB, free: 1.676 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0005205/0.7067, allocations: 364.1 kB / 1.201 GB, free: 1.312 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.7067, allocations: 55.39 kB / 1.201 GB, free: 1.246 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003547/0.7103, allocations: 2.931 MB / 1.203 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.7103, allocations: 29.7 kB / 1.204 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009158/0.7112, allocations: 0.9474 MB / 1.204 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.7113, allocations: 23.88 kB / 1.204 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/0.7114, allocations: 110.2 kB / 1.205 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.7116, allocations: 326 kB / 1.205 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.7118, allocations: 153 kB / 1.205 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004822/0.7123, allocations: 469.2 kB / 1.205 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00066/0.713, allocations: 0.602 MB / 1.206 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.713, allocations: 4 kB / 1.206 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001007/0.714, allocations: 0.7699 MB / 1.207 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.714, allocations: 12.03 kB / 1.207 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.714, allocations: 15.98 kB / 1.207 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.7141, allocations: 15.94 kB / 1.207 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/0.7144, allocations: 107.8 kB / 1.207 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.923e-05/0.7144, allocations: 19.92 kB / 1.207 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005083/0.7149, allocations: 95.25 kB / 1.207 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.715, allocations: 32 kB / 1.207 GB, free: 10.27 MB / 0.9356 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.0008077/0.7158, allocations: 0.7451 MB / 1.208 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000228/0.716, allocations: 214.6 kB / 1.208 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002936/0.7163, allocations: 223.7 kB / 1.208 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.7163, allocations: 3.984 kB / 1.208 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.7163, allocations: 0 / 1.208 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.7163, allocations: 0 / 1.208 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.7174, allocations: 0.9392 MB / 1.209 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.7174, allocations: 3.984 kB / 1.209 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.589e-05/0.7174, allocations: 4 kB / 1.209 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.7174, allocations: 0 / 1.209 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.7174, allocations: 0 / 1.209 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.7175, allocations: 0 / 1.209 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.7175, allocations: 8 kB / 1.209 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004043/0.7179, allocations: 430.3 kB / 1.21 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004955/0.7184, allocations: 371.6 kB / 1.21 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/0.7185, allocations: 0 / 1.21 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003131/0.7189, allocations: 11.97 kB / 1.21 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.213e-05/0.7189, allocations: 0 / 1.21 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.7189, allocations: 0 / 1.21 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002577/0.7215, allocations: 2.066 MB / 1.212 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7215, allocations: 4 kB / 1.212 GB, free: 5.16 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006764/0.7222, allocations: 243.8 kB / 1.212 GB, free: 4.922 MB / 0.9356 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.0003664/0.7225, allocations: 153 kB / 1.212 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004696/0.723, allocations: 310.2 kB / 1.213 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.723, allocations: 4 kB / 1.213 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.594e-05/0.7231, allocations: 47.95 kB / 1.213 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002234/0.7253, allocations: 0.7054 MB / 1.213 GB, free: 3.723 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00443/0.7298, allocations: 3.406 MB / 1.217 GB, free: 280 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001413/0.7312, allocations: 1.8 MB / 1.218 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0007091/0.7319, allocations: 305.4 kB / 1.219 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.7321, allocations: 91.44 kB / 1.219 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of SimCode: time 6.51e-07/0.7321, allocations: 0 / 1.219 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of Templates: time 0.04279/0.7749, allocations: 25.03 MB / 1.243 GB, free: 5.418 MB / 0.9669 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 cvode -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