Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 110.2 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.001347/0.001347, allocations: 197.4 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.403/2.403, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 60.19 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2698, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006393/0.2763, allocations: 4.947 MB / 1.032 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.5974/0.8737, allocations: 150.6 MB / 1.179 GB, free: 6.684 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006519/0.8744, allocations: 20.41 kB / 1.179 GB, free: 6.676 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005491/0.875, allocations: 196.1 kB / 1.179 GB, free: 6.551 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001534/0.8766, allocations: 0.5489 MB / 1.179 GB, free: 6.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001781/0.8784, allocations: 0.8537 MB / 1.18 GB, free: 5.746 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00145/0.8798, allocations: 1.424 MB / 1.182 GB, free: 4.863 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008361/0.8807, allocations: 0.6028 MB / 1.182 GB, free: 4.5 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006603/0.8813, allocations: 0.4953 MB / 1.183 GB, free: 4.199 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000569/0.8819, allocations: 0.5132 MB / 1.183 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001486/0.8821, allocations: 121.2 kB / 1.183 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009119/0.883, allocations: 489.1 kB / 1.184 GB, free: 3.66 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002753/0.8833, allocations: 302.1 kB / 1.184 GB, free: 3.422 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005099/0.8838, allocations: 0.5698 MB / 1.185 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001698/0.8855, allocations: 1.653 MB / 1.186 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.8855, allocations: 0 / 1.186 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.936e-06/0.8855, allocations: 1.188 kB / 1.186 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.519e-05/0.8855, allocations: 3.938 kB / 1.186 GB, free: 1.816 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002591/0.8881, allocations: 1.456 MB / 1.188 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.8882, allocations: 9.031 kB / 1.188 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.8894, allocations: 230.7 kB / 1.188 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.8906, allocations: 0.7766 MB / 1.189 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.513e-05/0.8907, allocations: 65.25 kB / 1.189 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.8908, allocations: 84.89 kB / 1.189 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.8925, allocations: 0.9807 MB / 1.19 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.8926, allocations: 0 / 1.19 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-05/0.8927, allocations: 41.06 kB / 1.19 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/0.8927, allocations: 21.97 kB / 1.19 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002028/0.8947, allocations: 1.167 MB / 1.191 GB, free: 14.63 MB / 0.9044 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.004125/0.8989, allocations: 3.004 MB / 1.194 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.9005, allocations: 0.946 MB / 1.195 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005041/0.901, allocations: 316.2 kB / 1.195 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.997e-05/0.9011, allocations: 39.22 kB / 1.195 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007995/0.9019, allocations: 0.4943 MB / 1.196 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=83): time 2.284e-06/0.902, allocations: 0 / 1.196 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of matching and sorting (n=83): time 0.003102/0.9051, allocations: 1.229 MB / 1.197 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.893e-05/0.9052, allocations: 192.9 kB / 1.197 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007671/0.9059, allocations: 0.6345 MB / 1.198 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.719e-05/0.906, allocations: 46.14 kB / 1.198 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/0.9063, allocations: 406.1 kB / 1.198 GB, free: 9.484 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/0.9065, allocations: 271.4 kB / 1.198 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002703/0.9068, allocations: 173.5 kB / 1.198 GB, free: 9.145 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.907, allocations: 385 kB / 1.199 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005015/0.9075, allocations: 270.2 kB / 1.199 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00063/0.9081, allocations: 402.5 kB / 1.199 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.9092, allocations: 0.6452 MB / 1.2 GB, free: 8.039 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.9092, allocations: 0 / 1.2 GB, free: 8.039 MB / 0.9044 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00191/0.9111, allocations: 0.8914 MB / 1.201 GB, free: 7.578 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.9112, allocations: 5.281 kB / 1.201 GB, free: 7.578 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.9112, allocations: 2.531 kB / 1.201 GB, free: 7.578 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005804/0.9118, allocations: 86.2 kB / 1.201 GB, free: 7.535 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006653/0.9124, allocations: 162.5 kB / 1.201 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002092/0.9145, allocations: 1.64 MB / 1.203 GB, free: 5.891 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008096/0.9154, allocations: 99.28 kB / 1.203 GB, free: 5.824 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.032e-05/0.9154, allocations: 37.67 kB / 1.203 GB, free: 5.812 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,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 (100): * Single equations (assignments): 99 * 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.0004598/0.9159, allocations: 278.5 kB / 1.203 GB, free: 5.594 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.9161, allocations: 82.41 kB / 1.203 GB, free: 5.551 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002277/0.9184, allocations: 1.088 MB / 1.204 GB, free: 4.945 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.9184, allocations: 14.12 kB / 1.204 GB, free: 4.941 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.9184, allocations: 3.938 kB / 1.204 GB, free: 4.938 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.9184, allocations: 3.984 kB / 1.204 GB, free: 4.934 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003343/0.9218, allocations: 2.091 MB / 1.206 GB, free: 3.516 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.9218, allocations: 4 kB / 1.206 GB, free: 3.512 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005625/0.9223, allocations: 151.8 kB / 1.207 GB, free: 3.477 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004369/0.9228, allocations: 72.73 kB / 1.207 GB, free: 3.441 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.957e-05/0.9229, allocations: 31.5 kB / 1.207 GB, free: 3.418 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001772/0.9246, allocations: 1.649 MB / 1.208 GB, free: 1.812 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.9247, allocations: 0 / 1.208 GB, free: 1.812 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.9265, allocations: 1.018 MB / 1.209 GB, free: 1.234 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004269/0.927, allocations: 267.9 kB / 1.21 GB, free: 1 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.9271, allocations: 27.39 kB / 1.21 GB, free: 0.9805 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006267/0.9277, allocations: 62.7 kB / 1.21 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.9279, allocations: 71.98 kB / 1.21 GB, free: 0.9141 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.957e-05/0.928, allocations: 34.42 kB / 1.21 GB, free: 0.9023 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005262/0.9285, allocations: 461.3 kB / 1.21 GB, free: 0.6406 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9285, allocations: 0 / 1.21 GB, free: 0.6406 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008931/0.9294, allocations: 343.9 kB / 1.21 GB, free: 360 kB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001304/0.9307, allocations: 0.6048 MB / 1.211 GB, free: 15.93 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001615/0.9323, allocations: 0.8478 MB / 1.212 GB, free: 15.07 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.9324, allocations: 384 / 1.212 GB, free: 15.07 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008905/0.9333, allocations: 0.5314 MB / 1.212 GB, free: 14.52 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.9344, allocations: 327.2 kB / 1.213 GB, free: 14.23 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002682/0.9371, allocations: 1.658 MB / 1.214 GB, free: 12.54 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005541/0.9377, allocations: 1.027 MB / 1.215 GB, free: 11.48 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007355/0.9384, allocations: 278.8 kB / 1.216 GB, free: 11.2 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002814/0.9387, allocations: 115.4 kB / 1.216 GB, free: 11.09 MB / 0.92 GB Notification: Performance of SimCode: time 3.91e-07/0.9387, allocations: 0 / 1.216 GB, free: 11.09 MB / 0.92 GB Notification: Performance of Templates: time 0.02407/0.9628, allocations: 15.72 MB / 1.231 GB, free: 11.54 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches