Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.004812/0.004812, allocations: 104.1 kB / 15.74 MB, free: 5.984 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.001195/0.001195, allocations: 197.8 kB / 16.68 MB, free: 5.91 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.164/1.164, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.235/2.235, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001107, allocations: 59.91 kB / 1.054 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.626/0.6271, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.00775/0.6349, allocations: 7.855 MB / 1.216 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006686/0.6416, allocations: 5.373 MB / 1.221 GB, free: 312 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.6427, allocations: 55.75 kB / 1.221 GB, free: 256 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003749/0.6465, allocations: 1.722 MB / 1.222 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.648, allocations: 0.6475 MB / 1.223 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007628/0.6488, allocations: 307.4 kB / 1.223 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001844/0.6506, allocations: 2.048 MB / 1.225 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006713/0.6513, allocations: 0.6996 MB / 1.226 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006693/0.652, allocations: 0.7816 MB / 1.227 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008226/0.6528, allocations: 0.8785 MB / 1.228 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.653, allocations: 92 kB / 1.228 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003917/0.6534, allocations: 211.8 kB / 1.228 GB, free: 8.828 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002677/0.6536, allocations: 366.5 kB / 1.228 GB, free: 8.469 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006054/0.6542, allocations: 0.8778 MB / 1.229 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001913/0.6562, allocations: 2.616 MB / 1.232 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.6562, allocations: 3.984 kB / 1.232 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6562, allocations: 4 kB / 1.232 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.864e-05/0.6562, allocations: 0 / 1.232 GB, free: 4.953 MB / 0.9512 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.00274/0.659, allocations: 2.405 MB / 1.234 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.659, allocations: 12.03 kB / 1.234 GB, free: 2.469 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002186/0.6592, allocations: 210.3 kB / 1.234 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002356/0.6616, allocations: 1.716 MB / 1.236 GB, free: 488 kB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.6616, allocations: 37 kB / 1.236 GB, free: 452 kB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.008e-05/0.6617, allocations: 48 kB / 1.236 GB, free: 404 kB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007309/0.6624, allocations: 0.5529 MB / 1.237 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.6624, allocations: 0 / 1.237 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.216e-05/0.6625, allocations: 20 kB / 1.237 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.6625, allocations: 12 kB / 1.237 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006366/0.6632, allocations: 0.5034 MB / 1.237 GB, free: 15.3 MB / 0.9669 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.003632/0.6668, allocations: 3.235 MB / 1.24 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.443e-05/0.6669, allocations: 50.55 kB / 1.24 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.739e-05/0.6669, allocations: 48.88 kB / 1.24 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.667, allocations: 4 kB / 1.24 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.667, allocations: 34.5 kB / 1.24 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 2.294e-06/0.667, allocations: 0 / 1.24 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0004221/0.6674, allocations: 362.9 kB / 1.241 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.6675, allocations: 51.41 kB / 1.241 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002918/0.6704, allocations: 2.931 MB / 1.244 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.6704, allocations: 25.7 kB / 1.244 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007015/0.6711, allocations: 0.9388 MB / 1.245 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.274e-05/0.6711, allocations: 11.91 kB / 1.245 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.6713, allocations: 118 kB / 1.245 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.05e-05/0.6714, allocations: 326 kB / 1.245 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.6716, allocations: 153 kB / 1.245 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003549/0.6719, allocations: 469.2 kB / 1.246 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005232/0.6724, allocations: 0.6059 MB / 1.246 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.6725, allocations: 8 kB / 1.246 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008641/0.6733, allocations: 0.7609 MB / 1.247 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.6734, allocations: 16.03 kB / 1.247 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.6734, allocations: 8 kB / 1.247 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.6734, allocations: 16 kB / 1.247 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.6737, allocations: 107.8 kB / 1.247 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.736e-05/0.6737, allocations: 19.94 kB / 1.247 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004858/0.6742, allocations: 98.89 kB / 1.247 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.6742, allocations: 28 kB / 1.247 GB, free: 4.285 MB / 0.9669 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.0006569/0.6749, allocations: 0.7314 MB / 1.248 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/0.6751, allocations: 201.4 kB / 1.248 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.6753, allocations: 223.8 kB / 1.248 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.6753, allocations: 0 / 1.248 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.6753, allocations: 0 / 1.248 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.6754, allocations: 0 / 1.248 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008524/0.6762, allocations: 0.943 MB / 1.249 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.6762, allocations: 4 kB / 1.249 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.754e-05/0.6763, allocations: 4 kB / 1.249 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.6763, allocations: 0 / 1.249 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.6763, allocations: 0 / 1.249 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.6763, allocations: 4 kB / 1.249 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.6763, allocations: 0 / 1.249 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.6766, allocations: 421.1 kB / 1.25 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005318/0.6772, allocations: 362.4 kB / 1.25 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.6773, allocations: 8.016 kB / 1.25 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002982/0.6776, allocations: 0 / 1.25 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.688e-05/0.6777, allocations: 0 / 1.25 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-06/0.6777, allocations: 4 kB / 1.25 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002195/0.6799, allocations: 2.058 MB / 1.252 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6799, allocations: 0 / 1.252 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006262/0.6805, allocations: 247.8 kB / 1.252 GB, free: 14.99 MB / 0.9825 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.0003056/0.6808, allocations: 168.7 kB / 1.253 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003951/0.6812, allocations: 310.1 kB / 1.253 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.6812, allocations: 0 / 1.253 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.443e-05/0.6813, allocations: 39.95 kB / 1.253 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002143/0.6834, allocations: 0.7149 MB / 1.254 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00361/0.6871, allocations: 3.339 MB / 1.257 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/0.6882, allocations: 1.808 MB / 1.259 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0005892/0.6888, allocations: 305.4 kB / 1.259 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.689, allocations: 91.44 kB / 1.259 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.689, allocations: 0 / 1.259 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of Templates: time 0.03422/0.7232, allocations: 25.32 MB / 1.284 GB, free: 15.23 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches