Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 159.1 kB / 22.45 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.657/2.657, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.9509 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.828e-05/3.03e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006945/0.006975, allocations: 4.483 MB / 0.9553 GB, free: 7.102 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1759/0.1829, allocations: 132.8 MB / 1.085 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008837/0.1838, allocations: 23.81 kB / 1.085 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007744/0.1845, allocations: 202.1 kB / 1.085 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002035/0.1866, allocations: 0.5894 MB / 1.086 GB, free: 1 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00246/0.189, allocations: 0.8923 MB / 1.087 GB, free: 116 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002203/0.1912, allocations: 1.505 MB / 1.088 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009698/0.1922, allocations: 410 kB / 1.088 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001442/0.1936, allocations: 0.7796 MB / 1.089 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008114/0.1945, allocations: 422.7 kB / 1.09 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002804/0.1947, allocations: 128 kB / 1.09 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.1959, allocations: 499.4 kB / 1.09 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003487/0.1963, allocations: 326.9 kB / 1.091 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000535/0.1968, allocations: 407 kB / 1.091 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002617/0.1994, allocations: 1.834 MB / 1.093 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.1994, allocations: 0 / 1.093 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1994, allocations: 4 kB / 1.093 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.422e-05/0.1995, allocations: 0 / 1.093 GB, free: 9.805 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.002925/0.2024, allocations: 1.463 MB / 1.094 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2024, allocations: 8.031 kB / 1.094 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002048/0.2045, allocations: 283.9 kB / 1.094 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.206, allocations: 0.7452 MB / 1.095 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.099e-05/0.206, allocations: 78.11 kB / 1.095 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.2062, allocations: 92 kB / 1.095 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/0.2083, allocations: 1.25 MB / 1.097 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/0.2083, allocations: 7.938 kB / 1.097 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.2084, allocations: 43.98 kB / 1.097 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/0.2084, allocations: 20 kB / 1.097 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002192/0.2106, allocations: 1.12 MB / 1.098 GB, free: 4.531 MB / 0.9981 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.004832/0.2154, allocations: 2.542 MB / 1.1 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/0.2175, allocations: 0.8772 MB / 1.101 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006232/0.2181, allocations: 306.4 kB / 1.101 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-05/0.2182, allocations: 28.91 kB / 1.101 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/0.2192, allocations: 0.6206 MB / 1.102 GB, free: 48 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=91): time 3.066e-06/0.2192, allocations: 0 / 1.102 GB, free: 48 kB / 0.9981 GB Notification: Performance of matching and sorting (n=91): time 0.4657/0.6849, allocations: 1.192 MB / 1.103 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/0.685, allocations: 202.2 kB / 1.103 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008524/0.6858, allocations: 0.6148 MB / 1.104 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.642e-05/0.6859, allocations: 49.66 kB / 1.104 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002943/0.6862, allocations: 422.7 kB / 1.104 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/0.6864, allocations: 299.2 kB / 1.105 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002888/0.6867, allocations: 193.5 kB / 1.105 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.6868, allocations: 391.2 kB / 1.105 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006878/0.6875, allocations: 300.2 kB / 1.106 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007989/0.6883, allocations: 0.5413 MB / 1.106 GB, free: 160 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.6896, allocations: 0.6864 MB / 1.107 GB, free: 159.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.6896, allocations: 0 / 1.107 GB, free: 159.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.00228/0.6919, allocations: 0.9554 MB / 1.108 GB, free: 159.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.6919, allocations: 6.469 kB / 1.108 GB, free: 159.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.6919, allocations: 1.625 kB / 1.108 GB, free: 159.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00063/0.6926, allocations: 88.27 kB / 1.108 GB, free: 159.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007627/0.6933, allocations: 181.2 kB / 1.108 GB, free: 159.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001884/0.6952, allocations: 1.499 MB / 1.109 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007568/0.696, allocations: 94.41 kB / 1.109 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.911e-05/0.6961, allocations: 42.55 kB / 1.11 GB, free: 157.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004093/0.6965, allocations: 290.5 kB / 1.11 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.6966, allocations: 93.12 kB / 1.11 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002547/0.6992, allocations: 1.111 MB / 1.111 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.6992, allocations: 11.19 kB / 1.111 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.6992, allocations: 1.234 kB / 1.111 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.6992, allocations: 7.859 kB / 1.111 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003722/0.7029, allocations: 1.946 MB / 1.113 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.7029, allocations: 8.938 kB / 1.113 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006426/0.7036, allocations: 156.6 kB / 1.113 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004565/0.704, allocations: 72.89 kB / 1.113 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.168e-05/0.7041, allocations: 29.3 kB / 1.113 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001587/0.7057, allocations: 1.521 MB / 1.115 GB, free: 154.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7057, allocations: 0.875 kB / 1.115 GB, free: 154.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002096/0.7078, allocations: 1.053 MB / 1.116 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004071/0.7082, allocations: 203.4 kB / 1.116 GB, free: 154.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.7083, allocations: 32.94 kB / 1.116 GB, free: 154.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006848/0.709, allocations: 65.05 kB / 1.116 GB, free: 154.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/0.7092, allocations: 80.77 kB / 1.116 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.309e-05/0.7093, allocations: 36.58 kB / 1.116 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005526/0.7098, allocations: 440.6 kB / 1.116 GB, free: 154 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.7098, allocations: 0.875 kB / 1.116 GB, free: 154 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00098/0.7108, allocations: 355.5 kB / 1.117 GB, free: 154 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002036/0.7128, allocations: 0.6595 MB / 1.117 GB, free: 153.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001811/0.7147, allocations: 0.8651 MB / 1.118 GB, free: 153.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.7147, allocations: 0 / 1.118 GB, free: 153.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009174/0.7156, allocations: 0.515 MB / 1.119 GB, free: 153.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.7169, allocations: 309.3 kB / 1.119 GB, free: 153.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002771/0.7197, allocations: 1.731 MB / 1.121 GB, free: 152.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004659/0.7201, allocations: 455.9 kB / 1.121 GB, free: 152.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007849/0.7209, allocations: 283.5 kB / 1.122 GB, free: 152 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003074/0.7212, allocations: 111.3 kB / 1.122 GB, free: 152 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/0.7212, allocations: 0 / 1.122 GB, free: 152 MB / 0.9981 GB Notification: Performance of Templates: time 0.02885/0.7501, allocations: 16.4 MB / 1.138 GB, free: 148.2 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.042849853634834]