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.001201/0.001201, allocations: 104.2 kB / 16.4 MB, free: 6.465 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.001207/0.001207, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.59/2.59, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 67.89 kB / 1.055 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8665/0.868, allocations: 157.4 MB / 1.209 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.0101/0.8781, allocations: 7.859 MB / 1.216 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009315/0.8875, allocations: 5.369 MB / 1.221 GB, free: 284 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002064/0.8896, allocations: 59.69 kB / 1.221 GB, free: 224 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.005759/0.8954, allocations: 1.71 MB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00252/0.898, allocations: 0.6552 MB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.8994, allocations: 307.4 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003524/0.903, allocations: 2.04 MB / 1.226 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001331/0.9043, allocations: 0.7073 MB / 1.227 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001578/0.9059, allocations: 0.7816 MB / 1.228 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00174/0.9077, allocations: 0.8707 MB / 1.228 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0005482/0.9082, allocations: 92 kB / 1.228 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.9093, allocations: 219.8 kB / 1.229 GB, free: 8.801 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0005429/0.9099, allocations: 366.4 kB / 1.229 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.9112, allocations: 0.8739 MB / 1.23 GB, free: 7.562 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003306/0.9146, allocations: 2.62 MB / 1.232 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 9.387e-06/0.9146, allocations: 4 kB / 1.232 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.224e-06/0.9146, allocations: 0 / 1.232 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.354e-05/0.9146, allocations: 0 / 1.232 GB, free: 4.93 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.003897/0.9185, allocations: 2.401 MB / 1.235 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.9186, allocations: 12.03 kB / 1.235 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002982/0.9189, allocations: 214.3 kB / 1.235 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002887/0.9218, allocations: 1.712 MB / 1.237 GB, free: 468 kB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.59e-05/0.9219, allocations: 37 kB / 1.237 GB, free: 432 kB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.547e-05/0.922, allocations: 52 kB / 1.237 GB, free: 380 kB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008905/0.9229, allocations: 0.5569 MB / 1.237 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.9229, allocations: 0 / 1.237 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.374e-05/0.9229, allocations: 20 kB / 1.237 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.9229, allocations: 12 kB / 1.237 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007301/0.9237, allocations: 0.4957 MB / 1.238 GB, free: 15.28 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.005175/0.9289, allocations: 3.231 MB / 1.241 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.929, allocations: 62.47 kB / 1.241 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.321e-05/0.9291, allocations: 52.86 kB / 1.241 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.9291, allocations: 0 / 1.241 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.9292, allocations: 34.56 kB / 1.241 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.9292, allocations: 0 / 1.241 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0006984/0.9299, allocations: 358.9 kB / 1.241 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.9299, allocations: 55.39 kB / 1.242 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003942/0.9339, allocations: 2.931 MB / 1.244 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.882e-05/0.9339, allocations: 25.7 kB / 1.244 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008743/0.9348, allocations: 0.9347 MB / 1.245 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.9349, allocations: 15.89 kB / 1.245 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.935, allocations: 114 kB / 1.245 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.9352, allocations: 330 kB / 1.246 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.9354, allocations: 156.9 kB / 1.246 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004453/0.9359, allocations: 477.2 kB / 1.246 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006231/0.9365, allocations: 0.5981 MB / 1.247 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.435e-06/0.9365, allocations: 4 kB / 1.247 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001277/0.9378, allocations: 0.7607 MB / 1.248 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.9378, allocations: 17.66 kB / 1.248 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.9379, allocations: 11.98 kB / 1.248 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/0.9379, allocations: 16 kB / 1.248 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/0.9382, allocations: 99.84 kB / 1.248 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.161e-05/0.9382, allocations: 23.92 kB / 1.248 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007578/0.939, allocations: 95.19 kB / 1.248 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.746e-05/0.9391, allocations: 28 kB / 1.248 GB, free: 4.262 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.0009766/0.94, allocations: 0.7391 MB / 1.249 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002922/0.9403, allocations: 201.4 kB / 1.249 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003587/0.9407, allocations: 227.8 kB / 1.249 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.9407, allocations: 0 / 1.249 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.9407, allocations: 0 / 1.249 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.9407, allocations: 4 kB / 1.249 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.942, allocations: 0.9392 MB / 1.25 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.942, allocations: 0 / 1.25 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.001e-05/0.942, allocations: 4 kB / 1.25 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.942, allocations: 0 / 1.25 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.9421, allocations: 0 / 1.25 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.9421, allocations: 0 / 1.25 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.9421, allocations: 0 / 1.25 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004523/0.9425, allocations: 429 kB / 1.25 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006453/0.9432, allocations: 362.4 kB / 1.251 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/0.9434, allocations: 0 / 1.251 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.9437, allocations: 0 / 1.251 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.361e-05/0.9437, allocations: 0 / 1.251 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.9437, allocations: 4 kB / 1.251 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002875/0.9466, allocations: 2.062 MB / 1.253 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9466, allocations: 0 / 1.253 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009944/0.9476, allocations: 243.8 kB / 1.253 GB, free: 14.96 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.0004177/0.9481, allocations: 165 kB / 1.253 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005338/0.9486, allocations: 309.4 kB / 1.253 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.9486, allocations: 0 / 1.253 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.243e-05/0.9487, allocations: 47.89 kB / 1.254 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002552/0.9513, allocations: 0.7229 MB / 1.254 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004823/0.9561, allocations: 3.12 MB / 1.257 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/0.9573, allocations: 1.665 MB / 1.259 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003414/0.9577, allocations: 91.44 kB / 1.259 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of SimCode: time 1.884e-06/0.9577, allocations: 0 / 1.259 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of Templates: time 0.04263/1, allocations: 27.3 MB / 1.286 GB, free: 13.7 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/jenkins1/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