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.00125/0.00125, allocations: 107.8 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.001939/0.001939, allocations: 189.8 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.459/1.459, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.482/2.482, allocations: 437 MB / 0.711 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 67.33 kB / 0.8699 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3229, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.008159/0.3311, allocations: 4.954 MB / 1.023 GB, free: 5.68 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7589/1.09, allocations: 150.6 MB / 1.17 GB, free: 432 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001344/1.091, allocations: 19.56 kB / 1.17 GB, free: 424 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001018/1.093, allocations: 192 kB / 1.17 GB, free: 300 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00285/1.095, allocations: 0.5564 MB / 1.171 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002655/1.098, allocations: 0.8447 MB / 1.171 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002406/1.101, allocations: 1.409 MB / 1.173 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001443/1.102, allocations: 0.5999 MB / 1.173 GB, free: 14.49 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001208/1.103, allocations: 0.4956 MB / 1.174 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/1.104, allocations: 0.5173 MB / 1.174 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004877/1.105, allocations: 116.9 kB / 1.175 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/1.107, allocations: 462.4 kB / 1.175 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005727/1.107, allocations: 298.1 kB / 1.175 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001317/1.109, allocations: 0.5747 MB / 1.176 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003459/1.112, allocations: 1.62 MB / 1.177 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/1.112, allocations: 0 / 1.177 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.555e-06/1.112, allocations: 1.469 kB / 1.177 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.164e-05/1.112, allocations: 0 / 1.177 GB, free: 12.23 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.004766/1.117, allocations: 1.46 MB / 1.179 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/1.117, allocations: 9.75 kB / 1.179 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/1.119, allocations: 227 kB / 1.179 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/1.12, allocations: 0.754 MB / 1.18 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.827e-05/1.12, allocations: 65.75 kB / 1.18 GB, free: 10.33 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/1.121, allocations: 84.36 kB / 1.18 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002254/1.123, allocations: 0.9803 MB / 1.181 GB, free: 9.66 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/1.123, allocations: 0 / 1.181 GB, free: 9.66 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/1.123, allocations: 37.19 kB / 1.181 GB, free: 9.633 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.133e-05/1.123, allocations: 26.91 kB / 1.181 GB, free: 9.629 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002494/1.126, allocations: 1.166 MB / 1.182 GB, free: 9.07 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.005589/1.131, allocations: 3.03 MB / 1.185 GB, free: 6.605 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/1.133, allocations: 0.9536 MB / 1.186 GB, free: 6.066 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006176/1.134, allocations: 310.4 kB / 1.186 GB, free: 5.91 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.746e-05/1.134, allocations: 31.66 kB / 1.186 GB, free: 5.895 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/1.135, allocations: 0.5044 MB / 1.187 GB, free: 5.566 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=83): time 3.336e-06/1.135, allocations: 0 / 1.187 GB, free: 5.566 MB / 0.8887 GB Notification: Performance of matching and sorting (n=83): time 0.003666/1.139, allocations: 1.233 MB / 1.188 GB, free: 4.891 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/1.139, allocations: 193.6 kB / 1.188 GB, free: 4.668 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/1.14, allocations: 0.6309 MB / 1.189 GB, free: 4.297 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 9.219e-05/1.14, allocations: 41.83 kB / 1.189 GB, free: 4.254 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004143/1.141, allocations: 417.4 kB / 1.189 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002837/1.141, allocations: 270.7 kB / 1.189 GB, free: 3.652 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003329/1.141, allocations: 176.2 kB / 1.19 GB, free: 3.547 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000221/1.141, allocations: 385.4 kB / 1.19 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005838/1.142, allocations: 271.6 kB / 1.19 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006976/1.143, allocations: 393 kB / 1.191 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/1.144, allocations: 0.6486 MB / 1.191 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/1.144, allocations: 2.344 kB / 1.191 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002231/1.146, allocations: 0.8871 MB / 1.192 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/1.146, allocations: 4.625 kB / 1.192 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/1.146, allocations: 3.5 kB / 1.192 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006436/1.147, allocations: 88.8 kB / 1.192 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000701/1.148, allocations: 165.9 kB / 1.192 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002332/1.15, allocations: 1.643 MB / 1.194 GB, free: 292 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009719/1.151, allocations: 97.77 kB / 1.194 GB, free: 228 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/1.151, allocations: 38.55 kB / 1.194 GB, free: 216 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.0005705/1.152, allocations: 268 kB / 1.194 GB, free: 4 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002892/1.152, allocations: 87.19 kB / 1.194 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002652/1.155, allocations: 1.089 MB / 1.196 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/1.155, allocations: 9.906 kB / 1.196 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/1.155, allocations: 0 / 1.196 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/1.155, allocations: 3.984 kB / 1.196 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004172/1.159, allocations: 2.095 MB / 1.198 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/1.159, allocations: 6.609 kB / 1.198 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006119/1.159, allocations: 150.7 kB / 1.198 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004665/1.16, allocations: 72.02 kB / 1.198 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.039e-05/1.16, allocations: 33.48 kB / 1.198 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002248/1.162, allocations: 1.658 MB / 1.199 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.162, allocations: 0 / 1.199 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002371/1.165, allocations: 1.012 MB / 1.2 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005917/1.165, allocations: 275.3 kB / 1.201 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002392/1.166, allocations: 27.8 kB / 1.201 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008078/1.166, allocations: 58.23 kB / 1.201 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/1.167, allocations: 72.17 kB / 1.201 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.422e-05/1.167, allocations: 34.55 kB / 1.201 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007251/1.167, allocations: 460.9 kB / 1.201 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.1e-07/1.167, allocations: 4 kB / 1.201 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001222/1.169, allocations: 335.5 kB / 1.202 GB, free: 10.94 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.001643/1.17, allocations: 0.611 MB / 1.202 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002898/1.173, allocations: 1.066 MB / 1.203 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.173, allocations: 0 / 1.203 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/1.174, allocations: 0.5227 MB / 1.204 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/1.176, allocations: 318.9 kB / 1.204 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003583/1.18, allocations: 1.726 MB / 1.206 GB, free: 8.359 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007189/1.18, allocations: 1.035 MB / 1.207 GB, free: 7.293 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000363/1.181, allocations: 119.4 kB / 1.207 GB, free: 7.176 MB / 0.9044 GB Notification: Performance of SimCode: time 3.626e-06/1.181, allocations: 0 / 1.207 GB, free: 7.176 MB / 0.9044 GB Notification: Performance of Templates: time 0.03001/1.211, allocations: 18.87 MB / 1.225 GB, free: 4.359 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=480 -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