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.001417/0.001417, allocations: 108 kB / 15.6 MB, free: 132 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.001579/0.001579, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.381/1.381, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.656/2.656, allocations: 472.6 MB / 0.7452 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 71.02 kB / 0.9121 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2825, allocations: 159.9 MB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006765/0.2893, allocations: 4.93 MB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1563/0.4457, allocations: 150.6 MB / 1.22 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007526/0.4465, allocations: 19.88 kB / 1.22 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005554/0.4471, allocations: 190.2 kB / 1.22 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001563/0.4487, allocations: 0.5585 MB / 1.221 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.4505, allocations: 0.8478 MB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0013/0.4518, allocations: 1.412 MB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008087/0.4526, allocations: 0.5949 MB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006038/0.4532, allocations: 0.5022 MB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005354/0.4538, allocations: 0.5095 MB / 1.225 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001526/0.4539, allocations: 116 kB / 1.225 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007861/0.4547, allocations: 459.6 kB / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002531/0.455, allocations: 299.1 kB / 1.225 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004838/0.4555, allocations: 0.5791 MB / 1.226 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.457, allocations: 1.608 MB / 1.228 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4571, allocations: 4 kB / 1.228 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.492e-06/0.4571, allocations: 0 / 1.228 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.373e-05/0.4571, allocations: 0 / 1.228 GB, free: 6.449 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.002348/0.4594, allocations: 1.458 MB / 1.229 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.4595, allocations: 8.031 kB / 1.229 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.4607, allocations: 239.2 kB / 1.229 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009648/0.4616, allocations: 0.7422 MB / 1.23 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.481e-05/0.4617, allocations: 69.98 kB / 1.23 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.4618, allocations: 84 kB / 1.23 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.4635, allocations: 0.9833 MB / 1.231 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.4635, allocations: 0 / 1.231 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.736e-05/0.4636, allocations: 43.98 kB / 1.231 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.89e-05/0.4637, allocations: 20 kB / 1.231 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001897/0.4656, allocations: 1.167 MB / 1.232 GB, free: 1.5 MB / 0.9825 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.004069/0.4697, allocations: 3.025 MB / 1.235 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/0.4715, allocations: 0.9581 MB / 1.236 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000534/0.472, allocations: 310.7 kB / 1.237 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.67e-05/0.4721, allocations: 36.53 kB / 1.237 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008666/0.473, allocations: 0.5042 MB / 1.237 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=83): time 2.184e-06/0.473, allocations: 0 / 1.237 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=83): time 0.003125/0.4761, allocations: 1.231 MB / 1.238 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.921e-05/0.4762, allocations: 188.9 kB / 1.238 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008028/0.4771, allocations: 0.6371 MB / 1.239 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.411e-05/0.4771, allocations: 41.7 kB / 1.239 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003023/0.4774, allocations: 404.3 kB / 1.239 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/0.4776, allocations: 276.1 kB / 1.24 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/0.4779, allocations: 170.5 kB / 1.24 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.4781, allocations: 386.8 kB / 1.24 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005306/0.4786, allocations: 277.8 kB / 1.241 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006259/0.4792, allocations: 385.7 kB / 1.241 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.4804, allocations: 0.6423 MB / 1.242 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4804, allocations: 4 kB / 1.242 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002001/0.4824, allocations: 0.8877 MB / 1.242 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.4824, allocations: 4 kB / 1.242 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.4824, allocations: 7.938 kB / 1.242 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006145/0.4831, allocations: 84.95 kB / 1.242 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006704/0.4837, allocations: 167.8 kB / 1.243 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/0.4859, allocations: 1.64 MB / 1.244 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000848/0.4868, allocations: 99.28 kB / 1.244 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.546e-05/0.4869, allocations: 43.97 kB / 1.244 GB, free: 4.656 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.0004841/0.4874, allocations: 270.1 kB / 1.245 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/0.4875, allocations: 82.97 kB / 1.245 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002368/0.4899, allocations: 1.085 MB / 1.246 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.4899, allocations: 12 kB / 1.246 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.49, allocations: 0 / 1.246 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.49, allocations: 3.984 kB / 1.246 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003627/0.4936, allocations: 2.102 MB / 1.248 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.4936, allocations: 0 / 1.248 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000604/0.4942, allocations: 151.7 kB / 1.248 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004774/0.4947, allocations: 84.7 kB / 1.248 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.791e-05/0.4948, allocations: 27.98 kB / 1.248 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5203/1.015, allocations: 1.65 MB / 1.25 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.015, allocations: 2.766 kB / 1.25 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/1.017, allocations: 1.013 MB / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003843/1.018, allocations: 273.3 kB / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/1.018, allocations: 17.39 kB / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006973/1.019, allocations: 62.67 kB / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001826/1.019, allocations: 72.64 kB / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.476e-05/1.019, allocations: 37.72 kB / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006006/1.02, allocations: 461.8 kB / 1.252 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/1.02, allocations: 0 / 1.252 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009084/1.02, allocations: 333.2 kB / 1.252 GB, free: 182.3 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.00127/1.022, allocations: 0.6108 MB / 1.253 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002519/1.024, allocations: 1.066 MB / 1.254 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.024, allocations: 0.7812 kB / 1.254 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009283/1.025, allocations: 0.5244 MB / 1.254 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/1.027, allocations: 317.3 kB / 1.254 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/1.029, allocations: 1.695 MB / 1.256 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/1.03, allocations: 1.033 MB / 1.257 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008973/1.031, allocations: 273.8 kB / 1.257 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002498/1.031, allocations: 111 kB / 1.257 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of SimCode: time 7.02e-07/1.031, allocations: 0 / 1.257 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.02901/1.06, allocations: 15.72 MB / 1.273 GB, free: 177.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