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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001315/0.001315, allocations: 103.2 kB / 16.27 MB, free: 6.402 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.001284/0.001284, allocations: 188 kB / 17.2 MB, free: 5.938 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.454/1.454, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.852/2.852, allocations: 482.4 MB / 0.7553 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 68.59 kB / 0.9245 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8928/0.8948, allocations: 162.2 MB / 1.083 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007331/0.9022, allocations: 4.936 MB / 1.088 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.2205/1.123, allocations: 150.6 MB / 1.235 GB, free: 2.816 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/1.124, allocations: 19.88 kB / 1.235 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007072/1.125, allocations: 190.2 kB / 1.235 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002441/1.127, allocations: 0.5551 MB / 1.236 GB, free: 2.055 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002541/1.13, allocations: 0.8462 MB / 1.236 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002042/1.132, allocations: 1.409 MB / 1.238 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/1.133, allocations: 0.5988 MB / 1.238 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009239/1.134, allocations: 0.4982 MB / 1.239 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007138/1.135, allocations: 0.5096 MB / 1.239 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001763/1.135, allocations: 116 kB / 1.239 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/1.136, allocations: 463.5 kB / 1.24 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000316/1.136, allocations: 303.1 kB / 1.24 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006044/1.137, allocations: 0.5674 MB / 1.241 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002393/1.139, allocations: 1.62 MB / 1.242 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.139, allocations: 0 / 1.242 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.074e-06/1.139, allocations: 0 / 1.242 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.553e-05/1.139, allocations: 0 / 1.242 GB, free: 11.11 MB / 0.9669 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.002885/1.142, allocations: 1.45 MB / 1.244 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/1.142, allocations: 16.03 kB / 1.244 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/1.144, allocations: 231.2 kB / 1.244 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/1.145, allocations: 0.75 MB / 1.245 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.872e-05/1.145, allocations: 65.98 kB / 1.245 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/1.145, allocations: 87.94 kB / 1.245 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/1.147, allocations: 0.9834 MB / 1.246 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/1.147, allocations: 0 / 1.246 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.834e-05/1.147, allocations: 39.98 kB / 1.246 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.686e-05/1.147, allocations: 24 kB / 1.246 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002048/1.149, allocations: 1.171 MB / 1.247 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004682/1.154, allocations: 3.087 MB / 1.25 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/1.156, allocations: 0.9463 MB / 1.251 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005915/1.156, allocations: 310.7 kB / 1.251 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.31e-05/1.156, allocations: 32.59 kB / 1.251 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009583/1.157, allocations: 0.4964 MB / 1.252 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=83): time 3.046e-06/1.157, allocations: 3.938 kB / 1.252 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of matching and sorting (n=83): time 0.003384/1.161, allocations: 1.235 MB / 1.253 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/1.161, allocations: 192.9 kB / 1.253 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000901/1.162, allocations: 0.6331 MB / 1.254 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.388e-05/1.162, allocations: 41.7 kB / 1.254 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003842/1.162, allocations: 408.3 kB / 1.254 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002693/1.163, allocations: 280 kB / 1.254 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002708/1.163, allocations: 170.5 kB / 1.255 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002133/1.163, allocations: 386.8 kB / 1.255 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005548/1.164, allocations: 273.8 kB / 1.255 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006914/1.164, allocations: 397.6 kB / 1.256 GB, free: 13 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/1.166, allocations: 0.6385 MB / 1.256 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/1.166, allocations: 0 / 1.256 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002122/1.168, allocations: 0.8877 MB / 1.257 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/1.168, allocations: 8 kB / 1.257 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/1.168, allocations: 0 / 1.257 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006069/1.168, allocations: 84.95 kB / 1.257 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006982/1.169, allocations: 171.7 kB / 1.257 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002292/1.171, allocations: 1.634 MB / 1.259 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008052/1.172, allocations: 99.25 kB / 1.259 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.458e-05/1.172, allocations: 35.98 kB / 1.259 GB, free: 9.266 MB / 0.9825 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.0005588/1.173, allocations: 271.9 kB / 1.259 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/1.173, allocations: 82.97 kB / 1.259 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002497/1.176, allocations: 1.097 MB / 1.261 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/1.176, allocations: 12 kB / 1.261 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/1.176, allocations: 0 / 1.261 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/1.176, allocations: 3.984 kB / 1.261 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0039/1.179, allocations: 2.098 MB / 1.263 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/1.179, allocations: 0 / 1.263 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006023/1.18, allocations: 147.8 kB / 1.263 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004653/1.181, allocations: 68.8 kB / 1.263 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.635e-05/1.181, allocations: 27.97 kB / 1.263 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002303/1.183, allocations: 1.666 MB / 1.264 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.183, allocations: 0 / 1.264 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002274/1.185, allocations: 1.012 MB / 1.265 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004829/1.186, allocations: 271.7 kB / 1.266 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/1.186, allocations: 36.06 kB / 1.266 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006824/1.187, allocations: 63.92 kB / 1.266 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/1.187, allocations: 76.77 kB / 1.266 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.961e-05/1.187, allocations: 40.05 kB / 1.266 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007033/1.188, allocations: 459 kB / 1.266 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/1.188, allocations: 0 / 1.266 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001069/1.189, allocations: 331.2 kB / 1.267 GB, free: 1.262 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: 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.002057/1.191, allocations: 0.5897 MB / 1.267 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002665/1.193, allocations: 1.066 MB / 1.268 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.193, allocations: 0 / 1.268 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/1.194, allocations: 0.5237 MB / 1.269 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/1.196, allocations: 323.3 kB / 1.269 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003246/1.199, allocations: 1.736 MB / 1.271 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007265/1.2, allocations: 1.031 MB / 1.272 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003289/1.2, allocations: 115.4 kB / 1.272 GB, free: 12 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/1.2, allocations: 4 kB / 1.272 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of Templates: time 0.02921/1.229, allocations: 18.86 MB / 1.29 GB, free: 9.184 MB / 1.014 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=400 -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