Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_10_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_10_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.001615/0.001615, allocations: 104.5 kB / 16.27 MB, free: 6.414 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.001701/0.001701, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.431/1.431, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.545/2.545, allocations: 437.1 MB / 0.7111 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 68.77 kB / 0.8699 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3127, allocations: 151.6 MB / 1.018 GB, free: 10.68 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007785/0.3205, allocations: 4.959 MB / 1.023 GB, free: 5.695 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.713/1.034, allocations: 150.6 MB / 1.17 GB, free: 452 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009314/1.035, allocations: 19.75 kB / 1.17 GB, free: 444 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006509/1.035, allocations: 199.8 kB / 1.17 GB, free: 312 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001948/1.037, allocations: 0.5574 MB / 1.171 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002232/1.039, allocations: 0.8365 MB / 1.171 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002049/1.042, allocations: 1.423 MB / 1.173 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/1.043, allocations: 0.6032 MB / 1.173 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/1.044, allocations: 0.492 MB / 1.174 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007813/1.044, allocations: 0.509 MB / 1.174 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001926/1.045, allocations: 118 kB / 1.175 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/1.046, allocations: 462.7 kB / 1.175 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003263/1.046, allocations: 302.5 kB / 1.175 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006511/1.047, allocations: 0.5713 MB / 1.176 GB, free: 13.31 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002342/1.049, allocations: 1.619 MB / 1.177 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/1.049, allocations: 0 / 1.177 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.814e-06/1.049, allocations: 3.75 kB / 1.177 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.264e-05/1.049, allocations: 1.125 kB / 1.177 GB, free: 12.25 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.003017/1.052, allocations: 1.451 MB / 1.179 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/1.052, allocations: 10.16 kB / 1.179 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001324/1.054, allocations: 238 kB / 1.179 GB, free: 11 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/1.055, allocations: 0.7542 MB / 1.18 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.068e-05/1.055, allocations: 65.09 kB / 1.18 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/1.055, allocations: 89.19 kB / 1.18 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/1.057, allocations: 0.9768 MB / 1.181 GB, free: 9.676 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/1.057, allocations: 0 / 1.181 GB, free: 9.676 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.704e-05/1.057, allocations: 41.61 kB / 1.181 GB, free: 9.645 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/1.057, allocations: 22 kB / 1.181 GB, free: 9.645 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002079/1.059, allocations: 1.163 MB / 1.182 GB, free: 9.09 MB / 0.8887 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.005134/1.064, allocations: 3.028 MB / 1.185 GB, free: 6.625 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/1.066, allocations: 0.958 MB / 1.186 GB, free: 6.082 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000526/1.067, allocations: 308.1 kB / 1.186 GB, free: 5.926 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.85e-05/1.067, allocations: 35.62 kB / 1.186 GB, free: 5.906 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009207/1.068, allocations: 0.4963 MB / 1.187 GB, free: 5.586 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=83): time 2.335e-06/1.068, allocations: 1.469 kB / 1.187 GB, free: 5.586 MB / 0.8887 GB Notification: Performance of matching and sorting (n=83): time 0.003331/1.071, allocations: 1.225 MB / 1.188 GB, free: 4.918 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/1.071, allocations: 193.5 kB / 1.188 GB, free: 4.695 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000947/1.072, allocations: 0.6383 MB / 1.189 GB, free: 4.316 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.836e-05/1.072, allocations: 42.36 kB / 1.189 GB, free: 4.273 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003676/1.072, allocations: 414.7 kB / 1.189 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002379/1.073, allocations: 261.1 kB / 1.189 GB, free: 3.684 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002515/1.073, allocations: 183 kB / 1.19 GB, free: 3.57 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001911/1.073, allocations: 388.2 kB / 1.19 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005145/1.074, allocations: 279.8 kB / 1.19 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000632/1.074, allocations: 387.8 kB / 1.191 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/1.075, allocations: 0.6425 MB / 1.191 GB, free: 2.461 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/1.075, allocations: 0 / 1.191 GB, free: 2.461 MB / 0.8887 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002012/1.077, allocations: 0.8913 MB / 1.192 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/1.078, allocations: 5 kB / 1.192 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/1.078, allocations: 3.094 kB / 1.192 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005912/1.078, allocations: 87.3 kB / 1.192 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006437/1.079, allocations: 169.9 kB / 1.192 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/1.081, allocations: 1.642 MB / 1.194 GB, free: 316 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009373/1.082, allocations: 102.2 kB / 1.194 GB, free: 244 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.837e-05/1.082, allocations: 38.16 kB / 1.194 GB, free: 232 kB / 0.8887 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.0005253/1.083, allocations: 270.7 kB / 1.194 GB, free: 16 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002188/1.083, allocations: 84.78 kB / 1.195 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002391/1.085, allocations: 1.093 MB / 1.196 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/1.085, allocations: 14.31 kB / 1.196 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.085, allocations: 4 kB / 1.196 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/1.085, allocations: 3.984 kB / 1.196 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003717/1.089, allocations: 2.093 MB / 1.198 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/1.089, allocations: 0 / 1.198 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005633/1.09, allocations: 153.8 kB / 1.198 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004409/1.09, allocations: 74.16 kB / 1.198 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.62e-05/1.09, allocations: 26.39 kB / 1.198 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002041/1.092, allocations: 1.657 MB / 1.199 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.092, allocations: 0 / 1.199 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/1.095, allocations: 1.012 MB / 1.2 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004436/1.095, allocations: 271.9 kB / 1.201 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/1.095, allocations: 23.5 kB / 1.201 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006416/1.096, allocations: 66.22 kB / 1.201 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/1.096, allocations: 75.33 kB / 1.201 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.476e-05/1.096, allocations: 31.05 kB / 1.201 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005952/1.097, allocations: 461 kB / 1.201 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.097, allocations: 0 / 1.201 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009392/1.098, allocations: 337.8 kB / 1.202 GB, free: 10.95 MB / 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.001944/1.1, allocations: 0.5991 MB / 1.202 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002577/1.102, allocations: 1.071 MB / 1.203 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.102, allocations: 0 / 1.203 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009372/1.103, allocations: 0.518 MB / 1.204 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/1.105, allocations: 320.7 kB / 1.204 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003052/1.108, allocations: 1.732 MB / 1.206 GB, free: 8.387 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006716/1.108, allocations: 1.027 MB / 1.207 GB, free: 7.328 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003213/1.109, allocations: 119.4 kB / 1.207 GB, free: 7.211 MB / 0.9044 GB Notification: Performance of SimCode: time 6.01e-07/1.109, allocations: 3.938 kB / 1.207 GB, free: 7.207 MB / 0.9044 GB Notification: Performance of Templates: time 0.02832/1.137, allocations: 18.87 MB / 1.225 GB, free: 4.387 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches