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.001894/0.001894, 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.003239/0.003239, allocations: 192.3 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.563/1.563, allocations: 222.9 MB / 240.2 MB, free: 4.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.755/2.755, allocations: 472.6 MB / 0.7451 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 64.53 kB / 0.912 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3081, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006509/0.3146, allocations: 4.937 MB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1593/0.4739, allocations: 150.6 MB / 1.22 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007845/0.4748, allocations: 19.88 kB / 1.22 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005691/0.4754, allocations: 186.2 kB / 1.22 GB, free: 14 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001646/0.477, allocations: 0.5622 MB / 1.221 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001859/0.4789, allocations: 0.8422 MB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001271/0.4802, allocations: 1.416 MB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008014/0.481, allocations: 0.5988 MB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006021/0.4816, allocations: 0.4944 MB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005285/0.4821, allocations: 0.5134 MB / 1.225 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.4823, allocations: 116 kB / 1.225 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007959/0.4831, allocations: 463.6 kB / 1.225 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000257/0.4834, allocations: 299.1 kB / 1.225 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004653/0.4839, allocations: 0.5714 MB / 1.226 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001533/0.4854, allocations: 1.612 MB / 1.228 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.4854, allocations: 0 / 1.228 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4854, allocations: 0 / 1.228 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.4854, allocations: 4 kB / 1.228 GB, free: 6.492 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.002313/0.4878, allocations: 1.454 MB / 1.229 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.4878, allocations: 8.031 kB / 1.229 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.489, allocations: 235.2 kB / 1.229 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009935/0.49, allocations: 0.7538 MB / 1.23 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.972e-05/0.49, allocations: 66 kB / 1.23 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.4902, allocations: 84 kB / 1.23 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.4917, allocations: 0.9834 MB / 1.231 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.4917, allocations: 3.984 kB / 1.231 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.354e-05/0.4918, allocations: 40 kB / 1.231 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.4919, allocations: 20 kB / 1.231 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/0.4938, allocations: 1.167 MB / 1.232 GB, free: 1.543 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.004168/0.4979, allocations: 3.033 MB / 1.235 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001812/0.4998, allocations: 0.956 MB / 1.236 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005577/0.5003, allocations: 317.6 kB / 1.236 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.745e-05/0.5004, allocations: 28.61 kB / 1.236 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008326/0.5013, allocations: 0.5081 MB / 1.237 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=83): time 4.068e-06/0.5013, allocations: 0 / 1.237 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=83): time 0.003162/0.5044, allocations: 1.227 MB / 1.238 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.065e-05/0.5046, allocations: 192.9 kB / 1.238 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000772/0.5053, allocations: 0.6371 MB / 1.239 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.202e-05/0.5054, allocations: 45.69 kB / 1.239 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002999/0.5057, allocations: 408.3 kB / 1.239 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002056/0.5059, allocations: 268.1 kB / 1.24 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.5062, allocations: 174.5 kB / 1.24 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.5063, allocations: 386.7 kB / 1.24 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005296/0.5069, allocations: 285.8 kB / 1.24 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006246/0.5075, allocations: 381.7 kB / 1.241 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.5086, allocations: 0.6463 MB / 1.241 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.5086, allocations: 0 / 1.241 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001958/0.5106, allocations: 0.8878 MB / 1.242 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.5106, allocations: 4 kB / 1.242 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.5106, allocations: 4 kB / 1.242 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000581/0.5112, allocations: 84.83 kB / 1.242 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006709/0.5119, allocations: 175.7 kB / 1.243 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.514, allocations: 1.623 MB / 1.244 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007308/0.5147, allocations: 99.22 kB / 1.244 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.846e-05/0.5148, allocations: 44.03 kB / 1.244 GB, free: 4.699 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.0004097/0.5152, allocations: 272.1 kB / 1.245 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.5154, allocations: 82.97 kB / 1.245 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002336/0.5177, allocations: 1.093 MB / 1.246 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.5178, allocations: 12 kB / 1.246 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5178, allocations: 4 kB / 1.246 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.5178, allocations: 3.984 kB / 1.246 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003408/0.5212, allocations: 2.09 MB / 1.248 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.5212, allocations: 4 kB / 1.248 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005916/0.5218, allocations: 151.8 kB / 1.248 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004442/0.5223, allocations: 76.78 kB / 1.248 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.327e-05/0.5223, allocations: 27.92 kB / 1.248 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4632/0.9856, allocations: 1.65 MB / 1.25 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.9856, allocations: 0 / 1.25 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00251/0.9881, allocations: 1.013 MB / 1.251 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004715/0.9886, allocations: 273.1 kB / 1.251 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.9887, allocations: 23.66 kB / 1.251 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006728/0.9894, allocations: 65.92 kB / 1.251 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/0.9896, allocations: 68.66 kB / 1.251 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-05/0.9897, allocations: 39.12 kB / 1.251 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006585/0.9904, allocations: 458.6 kB / 1.252 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9904, allocations: 0.5938 kB / 1.252 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009614/0.9913, allocations: 330 kB / 1.252 GB, free: 182.5 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.001311/0.9927, allocations: 0.6018 MB / 1.252 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002709/0.9954, allocations: 1.068 MB / 1.253 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.9954, allocations: 1.188 kB / 1.253 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.9964, allocations: 0.5253 MB / 1.254 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/0.9978, allocations: 319.3 kB / 1.254 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002929/1.001, allocations: 1.697 MB / 1.256 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/1.001, allocations: 1.031 MB / 1.257 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000817/1.002, allocations: 273.1 kB / 1.257 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/1.002, allocations: 107.2 kB / 1.257 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.473e-06/1.002, allocations: 4 kB / 1.257 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.02925/1.032, allocations: 15.73 MB / 1.273 GB, free: 178.1 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