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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00129/0.001291, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01182/0.01182, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.464/1.464, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.716/2.716, allocations: 462.6 MB / 0.7364 GB, free: 228 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003237, allocations: 7.594 kB / 0.9028 GB, free: 36.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3358, allocations: 159.6 MB / 1.059 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005601/0.3414, allocations: 4.517 MB / 1.063 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1595/0.501, allocations: 146.7 MB / 1.206 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.5021, allocations: 15.94 kB / 1.206 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008633/0.5029, allocations: 154.8 kB / 1.207 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002166/0.5051, allocations: 473 kB / 1.207 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002354/0.5075, allocations: 0.7442 MB / 1.208 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002008/0.5095, allocations: 1.323 MB / 1.209 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001195/0.5107, allocations: 0.575 MB / 1.21 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008705/0.5116, allocations: 362.3 kB / 1.21 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007572/0.5124, allocations: 405.8 kB / 1.21 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.5126, allocations: 24 kB / 1.21 GB, free: 9.516 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009416/0.5135, allocations: 363.7 kB / 1.211 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002582/0.5138, allocations: 191.1 kB / 1.211 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006198/0.5144, allocations: 478.8 kB / 1.211 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002039/0.5165, allocations: 1.518 MB / 1.213 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.5165, allocations: 4 kB / 1.213 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5165, allocations: 0 / 1.213 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.662e-05/0.5165, allocations: 0 / 1.213 GB, free: 6.969 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.00268/0.5192, allocations: 1.24 MB / 1.214 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.5193, allocations: 8.031 kB / 1.214 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001428/0.5207, allocations: 255.3 kB / 1.214 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.5221, allocations: 0.7461 MB / 1.215 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.666e-05/0.5222, allocations: 66 kB / 1.215 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/0.5224, allocations: 87.94 kB / 1.215 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002052/0.5244, allocations: 0.995 MB / 1.216 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.5245, allocations: 3.938 kB / 1.216 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.5246, allocations: 36 kB / 1.216 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/0.5246, allocations: 24 kB / 1.216 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002154/0.5268, allocations: 1.186 MB / 1.217 GB, free: 2.195 MB / 0.9669 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.005368/0.5322, allocations: 3.06 MB / 1.22 GB, free: 15 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002051/0.5342, allocations: 0.9732 MB / 1.221 GB, free: 14 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006004/0.5349, allocations: 314.7 kB / 1.222 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000145/0.535, allocations: 36.61 kB / 1.222 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009225/0.536, allocations: 0.4925 MB / 1.222 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=83): time 3.195e-06/0.536, allocations: 0 / 1.222 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=83): time 0.003467/0.5394, allocations: 1.255 MB / 1.223 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001414/0.5396, allocations: 192.9 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.5407, allocations: 0.6371 MB / 1.224 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.75e-05/0.5408, allocations: 41.7 kB / 1.224 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003919/0.5412, allocations: 404.3 kB / 1.225 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002597/0.5414, allocations: 276.1 kB / 1.225 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.5416, allocations: 65.69 kB / 1.225 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.5417, allocations: 394.7 kB / 1.225 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005813/0.5423, allocations: 281.8 kB / 1.225 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007119/0.5431, allocations: 397.6 kB / 1.226 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.5443, allocations: 0.6463 MB / 1.227 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.5443, allocations: 0 / 1.227 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002171/0.5465, allocations: 0.9034 MB / 1.227 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.5465, allocations: 4 kB / 1.227 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.5466, allocations: 4 kB / 1.227 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006491/0.5472, allocations: 88.81 kB / 1.227 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000704/0.5479, allocations: 171.7 kB / 1.228 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/0.5501, allocations: 1.531 MB / 1.229 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009122/0.551, allocations: 103.3 kB / 1.229 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.5511, allocations: 43.97 kB / 1.229 GB, free: 5.453 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.0005528/0.5517, allocations: 283.4 kB / 1.23 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/0.5519, allocations: 82.97 kB / 1.23 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002523/0.5545, allocations: 1.093 MB / 1.231 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.5545, allocations: 11.94 kB / 1.231 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.5545, allocations: 0 / 1.231 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.5545, allocations: 15.97 kB / 1.231 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003814/0.5583, allocations: 2.102 MB / 1.233 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.5584, allocations: 0 / 1.233 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006332/0.559, allocations: 147.8 kB / 1.233 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000537/0.5596, allocations: 88.77 kB / 1.233 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.22e-05/0.5597, allocations: 23.98 kB / 1.233 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001976/0.5616, allocations: 1.556 MB / 1.235 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.5617, allocations: 0 / 1.235 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002201/0.5639, allocations: 1.023 MB / 1.236 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004885/0.5644, allocations: 287.7 kB / 1.236 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/0.5645, allocations: 20 kB / 1.236 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007839/0.5653, allocations: 87.89 kB / 1.236 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/0.5655, allocations: 72.91 kB / 1.236 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.99e-05/0.5656, allocations: 39.91 kB / 1.236 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006732/0.5663, allocations: 463 kB / 1.236 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5663, allocations: 0 / 1.236 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001016/0.5673, allocations: 335.2 kB / 1.237 GB, free: 13.49 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.001459/0.5688, allocations: 0.6087 MB / 1.237 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001905/0.5707, allocations: 0.8589 MB / 1.238 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.5707, allocations: 4 kB / 1.238 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.5718, allocations: 0.5275 MB / 1.239 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001621/0.5734, allocations: 289.4 kB / 1.239 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003642/0.577, allocations: 2.129 MB / 1.241 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006535/0.5777, allocations: 1.032 MB / 1.242 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009416/0.5787, allocations: 266.8 kB / 1.242 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000327/0.579, allocations: 115.4 kB / 1.242 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of SimCode: time 7.82e-07/0.579, allocations: 0 / 1.242 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of Templates: time 0.4938/1.073, allocations: 14.97 MB / 1.257 GB, free: 188.9 MB / 0.9981 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches