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.001856/0.001863, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002128/0.002128, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.527/1.527, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.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.755/2.755, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 59.89 kB / 0.8692 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5787/0.5807, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.008237/0.589, allocations: 4.927 MB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1935/0.7825, allocations: 150.6 MB / 1.169 GB, free: 6.312 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.7838, allocations: 15.94 kB / 1.169 GB, free: 6.297 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008758/0.7847, allocations: 194.1 kB / 1.169 GB, free: 6.105 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002788/0.7875, allocations: 0.5593 MB / 1.17 GB, free: 5.547 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002592/0.7901, allocations: 0.8563 MB / 1.171 GB, free: 4.695 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002281/0.7924, allocations: 1.408 MB / 1.172 GB, free: 3.281 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001307/0.7937, allocations: 0.6027 MB / 1.173 GB, free: 2.66 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.7948, allocations: 0.4905 MB / 1.173 GB, free: 2.168 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.7959, allocations: 0.5211 MB / 1.174 GB, free: 1.645 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004072/0.7963, allocations: 120 kB / 1.174 GB, free: 1.527 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.7974, allocations: 455.7 kB / 1.174 GB, free: 1.082 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003613/0.7978, allocations: 303 kB / 1.175 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007484/0.7986, allocations: 0.5713 MB / 1.175 GB, free: 216 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002468/0.801, allocations: 1.616 MB / 1.177 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.377e-06/0.8011, allocations: 4 kB / 1.177 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.334e-06/0.8011, allocations: 0 / 1.177 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.247e-05/0.8011, allocations: 0 / 1.177 GB, free: 14.59 MB / 0.9356 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.003209/0.8043, allocations: 1.458 MB / 1.178 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.8044, allocations: 8.031 kB / 1.178 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001346/0.8058, allocations: 227.4 kB / 1.178 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.807, allocations: 0.7499 MB / 1.179 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.033e-05/0.8071, allocations: 69.98 kB / 1.179 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.8073, allocations: 84 kB / 1.179 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/0.8092, allocations: 0.9833 MB / 1.18 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.8092, allocations: 0 / 1.18 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-05/0.8093, allocations: 40 kB / 1.18 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.432e-05/0.8093, allocations: 24 kB / 1.18 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002205/0.8115, allocations: 1.163 MB / 1.181 GB, free: 9.641 MB / 0.9356 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.005009/0.8166, allocations: 3.037 MB / 1.184 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002/0.8186, allocations: 0.9493 MB / 1.185 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006041/0.8192, allocations: 314.7 kB / 1.186 GB, free: 5.188 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.552e-05/0.8193, allocations: 28.61 kB / 1.186 GB, free: 5.16 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009471/0.8202, allocations: 0.5119 MB / 1.186 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=83): time 2.615e-06/0.8203, allocations: 0 / 1.186 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of matching and sorting (n=83): time 0.003592/0.8239, allocations: 1.227 MB / 1.187 GB, free: 3.375 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001627/0.824, allocations: 188.9 kB / 1.188 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.8251, allocations: 0.6371 MB / 1.188 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.343e-05/0.8252, allocations: 41.7 kB / 1.188 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004341/0.8256, allocations: 416.2 kB / 1.189 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002874/0.8259, allocations: 272.1 kB / 1.189 GB, free: 1.77 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003013/0.8262, allocations: 170.4 kB / 1.189 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002287/0.8264, allocations: 390.7 kB / 1.189 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005812/0.827, allocations: 273.9 kB / 1.19 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007266/0.8278, allocations: 389.6 kB / 1.19 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.829, allocations: 0.6463 MB / 1.191 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.829, allocations: 0 / 1.191 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002187/0.8312, allocations: 0.8877 MB / 1.191 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.8313, allocations: 5.875 kB / 1.191 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.8313, allocations: 4 kB / 1.192 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006353/0.8319, allocations: 84.95 kB / 1.192 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007075/0.8326, allocations: 167.7 kB / 1.192 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002401/0.8351, allocations: 1.638 MB / 1.193 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008758/0.8359, allocations: 91.33 kB / 1.193 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.004e-05/0.836, allocations: 35.97 kB / 1.193 GB, free: 12.79 MB / 0.9512 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.0005138/0.8366, allocations: 279.4 kB / 1.194 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/0.8368, allocations: 82.97 kB / 1.194 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002648/0.8394, allocations: 1.097 MB / 1.195 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/0.8394, allocations: 15.98 kB / 1.195 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.8395, allocations: 0 / 1.195 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.8395, allocations: 3.984 kB / 1.195 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003953/0.8434, allocations: 2.086 MB / 1.197 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.8435, allocations: 0 / 1.197 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006439/0.8441, allocations: 155.7 kB / 1.197 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004748/0.8446, allocations: 76.78 kB / 1.197 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.517e-05/0.8447, allocations: 27.97 kB / 1.197 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002182/0.8469, allocations: 1.654 MB / 1.199 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.8469, allocations: 0 / 1.199 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002286/0.8492, allocations: 1.019 MB / 1.2 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004432/0.8496, allocations: 279.7 kB / 1.2 GB, free: 5.754 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.8498, allocations: 20 kB / 1.2 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007/0.8505, allocations: 65.47 kB / 1.2 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/0.8507, allocations: 80.83 kB / 1.2 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.797e-05/0.8508, allocations: 31.98 kB / 1.2 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006892/0.8515, allocations: 463 kB / 1.201 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.21e-07/0.8515, allocations: 3.938 kB / 1.201 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009791/0.8525, allocations: 335.2 kB / 1.201 GB, free: 4.781 MB / 0.9512 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.002028/0.8545, allocations: 0.5906 MB / 1.202 GB, free: 4.363 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002811/0.8573, allocations: 1.07 MB / 1.203 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.8574, allocations: 3.984 kB / 1.203 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.8584, allocations: 0.5237 MB / 1.203 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/0.86, allocations: 317.7 kB / 1.203 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003249/0.8632, allocations: 1.689 MB / 1.205 GB, free: 0.7461 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007617/0.864, allocations: 1.039 MB / 1.206 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001/0.865, allocations: 266.9 kB / 1.206 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003057/0.8653, allocations: 111.4 kB / 1.206 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of SimCode: time 7.91e-07/0.8654, allocations: 4 kB / 1.206 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of Templates: time 0.03165/0.897, allocations: 15.73 MB / 1.222 GB, free: 15.73 MB / 0.9825 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches