Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001515/0.001515, allocations: 110.6 kB / 16.41 MB, free: 6.477 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.001526/0.001526, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.213/2.213, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 59.91 kB / 0.9515 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9477/0.9492, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005895/0.9551, allocations: 4.422 MB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1966/1.152, allocations: 150.6 MB / 1.24 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001206/1.153, allocations: 20.81 kB / 1.24 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006167/1.154, allocations: 180 kB / 1.24 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002143/1.156, allocations: 0.5254 MB / 1.241 GB, free: 336 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002477/1.158, allocations: 0.8486 MB / 1.241 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001964/1.16, allocations: 1.34 MB / 1.243 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/1.161, allocations: 0.6369 MB / 1.243 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009331/1.162, allocations: 0.4901 MB / 1.244 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006269/1.163, allocations: 0.5072 MB / 1.244 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001608/1.163, allocations: 117.2 kB / 1.244 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/1.164, allocations: 483.7 kB / 1.245 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002699/1.165, allocations: 303 kB / 1.245 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004896/1.165, allocations: 0.5557 MB / 1.246 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00192/1.167, allocations: 1.626 MB / 1.247 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/1.167, allocations: 4 kB / 1.247 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.713e-06/1.167, allocations: 0 / 1.247 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.169e-05/1.167, allocations: 0 / 1.247 GB, free: 11.08 MB / 0.9825 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.002563/1.17, allocations: 1.439 MB / 1.249 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/1.17, allocations: 8.031 kB / 1.249 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/1.171, allocations: 239.2 kB / 1.249 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/1.172, allocations: 0.781 MB / 1.25 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.274e-05/1.172, allocations: 66 kB / 1.25 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/1.172, allocations: 91.98 kB / 1.25 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/1.174, allocations: 0.986 MB / 1.251 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/1.174, allocations: 0 / 1.251 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-05/1.174, allocations: 36 kB / 1.251 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.782e-05/1.174, allocations: 20 kB / 1.251 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/1.176, allocations: 1.167 MB / 1.252 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004363/1.18, allocations: 2.781 MB / 1.255 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/1.182, allocations: 0.9557 MB / 1.256 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005507/1.183, allocations: 310.7 kB / 1.256 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.68e-05/1.183, allocations: 28.61 kB / 1.256 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008794/1.184, allocations: 0.508 MB / 1.257 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=83): time 2.545e-06/1.184, allocations: 0 / 1.257 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of matching and sorting (n=83): time 0.003361/1.187, allocations: 1.224 MB / 1.258 GB, free: 160 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/1.187, allocations: 188.9 kB / 1.258 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009225/1.188, allocations: 0.6293 MB / 1.259 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.559e-05/1.188, allocations: 45.7 kB / 1.259 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003829/1.189, allocations: 412.2 kB / 1.259 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002476/1.189, allocations: 268.2 kB / 1.259 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002615/1.189, allocations: 170.4 kB / 1.259 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001755/1.189, allocations: 394.7 kB / 1.26 GB, free: 14 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005502/1.19, allocations: 273.8 kB / 1.26 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006349/1.191, allocations: 385.7 kB / 1.26 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/1.192, allocations: 0.6345 MB / 1.261 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/1.192, allocations: 4 kB / 1.261 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002096/1.194, allocations: 0.8838 MB / 1.262 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/1.194, allocations: 4 kB / 1.262 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/1.194, allocations: 4 kB / 1.262 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006106/1.195, allocations: 84.95 kB / 1.262 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006889/1.195, allocations: 171.7 kB / 1.262 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/1.198, allocations: 1.636 MB / 1.264 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000902/1.198, allocations: 87.33 kB / 1.264 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.989e-05/1.199, allocations: 39.97 kB / 1.264 GB, free: 9.605 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: 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.0005581/1.199, allocations: 283.8 kB / 1.264 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/1.199, allocations: 82.97 kB / 1.264 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002369/1.202, allocations: 1.085 MB / 1.265 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/1.202, allocations: 8 kB / 1.265 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.202, allocations: 4 kB / 1.265 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/1.202, allocations: 11.97 kB / 1.265 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003708/1.205, allocations: 2.081 MB / 1.267 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/1.205, allocations: 0 / 1.267 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005961/1.206, allocations: 147.8 kB / 1.267 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004549/1.207, allocations: 72.78 kB / 1.268 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-05/1.207, allocations: 23.98 kB / 1.268 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/1.209, allocations: 1.666 MB / 1.269 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.209, allocations: 0 / 1.269 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002139/1.211, allocations: 1.014 MB / 1.27 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004182/1.211, allocations: 271.7 kB / 1.27 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/1.211, allocations: 24 kB / 1.27 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006508/1.212, allocations: 67.92 kB / 1.271 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/1.212, allocations: 68.84 kB / 1.271 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-05/1.212, allocations: 39.97 kB / 1.271 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006304/1.213, allocations: 459 kB / 1.271 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.213, allocations: 0 / 1.271 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001037/1.214, allocations: 323.2 kB / 1.271 GB, free: 1.633 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: 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.001563/1.215, allocations: 0.6096 MB / 1.272 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001887/1.217, allocations: 0.8472 MB / 1.273 GB, free: 340 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/1.217, allocations: 3.938 kB / 1.273 GB, free: 336 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009463/1.218, allocations: 0.5237 MB / 1.273 GB, free: 15.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/1.22, allocations: 307.6 kB / 1.274 GB, free: 15.52 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00406/1.224, allocations: 1.816 MB / 1.275 GB, free: 13.67 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006325/1.224, allocations: 1.031 MB / 1.276 GB, free: 12.61 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003415/1.225, allocations: 119.4 kB / 1.277 GB, free: 12.49 MB / 1.014 GB Notification: Performance of SimCode: time 1.322e-06/1.225, allocations: 0 / 1.277 GB, free: 12.49 MB / 1.014 GB Notification: Performance of Templates: time 0.02698/1.252, allocations: 18.82 MB / 1.295 GB, free: 9.719 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches