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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00162/0.00162, allocations: 107 kB / 16.36 MB, free: 6.285 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.001848/0.001848, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.353/2.353, allocations: 437.1 MB / 0.7112 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 60.72 kB / 0.8707 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2443, allocations: 151.6 MB / 1.019 GB, free: 9.914 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006184/0.2505, allocations: 4.94 MB / 1.024 GB, free: 4.945 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6012/0.8517, allocations: 150.6 MB / 1.171 GB, free: 184 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007106/0.8525, allocations: 19.03 kB / 1.171 GB, free: 176 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005373/0.8531, allocations: 195.9 kB / 1.171 GB, free: 48 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001516/0.8546, allocations: 0.5607 MB / 1.171 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.8563, allocations: 0.852 MB / 1.172 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001305/0.8577, allocations: 1.424 MB / 1.174 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008461/0.8585, allocations: 0.5932 MB / 1.174 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006438/0.8592, allocations: 0.4971 MB / 1.175 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005481/0.8597, allocations: 0.5135 MB / 1.175 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001489/0.8599, allocations: 117.7 kB / 1.175 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008115/0.8607, allocations: 485.6 kB / 1.176 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002604/0.861, allocations: 305.4 kB / 1.176 GB, free: 13.42 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000474/0.8615, allocations: 0.5746 MB / 1.177 GB, free: 13.03 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.8631, allocations: 1.652 MB / 1.178 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.8631, allocations: 0 / 1.178 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.372e-06/0.8631, allocations: 1.219 kB / 1.178 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.555e-05/0.8631, allocations: 0 / 1.178 GB, free: 11.85 MB / 0.8887 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.002406/0.8655, allocations: 1.46 MB / 1.18 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.8656, allocations: 10.33 kB / 1.18 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.8668, allocations: 234.5 kB / 1.18 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.8679, allocations: 0.7761 MB / 1.181 GB, free: 9.953 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.221e-05/0.8679, allocations: 65.75 kB / 1.181 GB, free: 9.922 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.8681, allocations: 88.31 kB / 1.181 GB, free: 9.891 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.8697, allocations: 0.9783 MB / 1.182 GB, free: 9.254 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.8697, allocations: 3.984 kB / 1.182 GB, free: 9.25 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.519e-05/0.8698, allocations: 38.12 kB / 1.182 GB, free: 9.223 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.257e-05/0.8698, allocations: 20.97 kB / 1.182 GB, free: 9.223 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/0.8718, allocations: 1.167 MB / 1.183 GB, free: 8.664 MB / 0.8887 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.004002/0.8758, allocations: 2.996 MB / 1.186 GB, free: 6.219 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/0.8775, allocations: 0.9471 MB / 1.187 GB, free: 5.695 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005271/0.878, allocations: 318.3 kB / 1.187 GB, free: 5.531 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.489e-05/0.8781, allocations: 36.22 kB / 1.187 GB, free: 5.512 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008098/0.8789, allocations: 0.5038 MB / 1.188 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=83): time 2.305e-06/0.8789, allocations: 0 / 1.188 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of matching and sorting (n=83): time 0.003143/0.8821, allocations: 1.229 MB / 1.189 GB, free: 4.516 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.462e-05/0.8822, allocations: 194.7 kB / 1.189 GB, free: 4.293 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007103/0.8829, allocations: 0.6377 MB / 1.19 GB, free: 3.914 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.531e-05/0.883, allocations: 43.61 kB / 1.19 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/0.8833, allocations: 402.9 kB / 1.19 GB, free: 3.516 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/0.8835, allocations: 266.3 kB / 1.19 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002488/0.8837, allocations: 179.7 kB / 1.191 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.8839, allocations: 385.4 kB / 1.191 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005025/0.8844, allocations: 275.2 kB / 1.191 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006097/0.885, allocations: 396.7 kB / 1.192 GB, free: 2.426 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.8861, allocations: 0.6446 MB / 1.192 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.8861, allocations: 0 / 1.192 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001863/0.888, allocations: 0.8873 MB / 1.193 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.888, allocations: 8.438 kB / 1.193 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.888, allocations: 2.562 kB / 1.193 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005768/0.8886, allocations: 86.14 kB / 1.193 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006652/0.8893, allocations: 170.9 kB / 1.193 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002068/0.8913, allocations: 1.632 MB / 1.195 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007381/0.8921, allocations: 103.4 kB / 1.195 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7e-05/0.8922, allocations: 38.16 kB / 1.195 GB, free: 15.84 MB / 0.9044 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.0003699/0.8925, allocations: 278.4 kB / 1.195 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.8927, allocations: 82.97 kB / 1.195 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002279/0.895, allocations: 1.085 MB / 1.196 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.895, allocations: 10.25 kB / 1.196 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.895, allocations: 0 / 1.196 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.895, allocations: 3.984 kB / 1.196 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003376/0.8984, allocations: 2.104 MB / 1.198 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.8984, allocations: 4.062 kB / 1.199 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005659/0.899, allocations: 151.6 kB / 1.199 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004389/0.8995, allocations: 78.94 kB / 1.199 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.882e-05/0.8995, allocations: 23.27 kB / 1.199 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001779/0.9013, allocations: 1.65 MB / 1.2 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.9013, allocations: 8 kB / 1.2 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/0.9032, allocations: 1.011 MB / 1.201 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004017/0.9036, allocations: 274.1 kB / 1.202 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.9038, allocations: 20.41 kB / 1.202 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006434/0.9044, allocations: 58.66 kB / 1.202 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.9046, allocations: 79.64 kB / 1.202 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.252e-05/0.9047, allocations: 42.59 kB / 1.202 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.00051/0.9052, allocations: 462.3 kB / 1.202 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9052, allocations: 0 / 1.202 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008795/0.9061, allocations: 333.5 kB / 1.203 GB, free: 10.57 MB / 0.9044 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.001295/0.9074, allocations: 0.596 MB / 1.203 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001575/0.909, allocations: 0.8568 MB / 1.204 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.909, allocations: 2.469 kB / 1.204 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008484/0.9098, allocations: 0.5242 MB / 1.204 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.911, allocations: 326.5 kB / 1.205 GB, free: 9.367 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002575/0.9136, allocations: 1.672 MB / 1.206 GB, free: 8.016 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005574/0.9141, allocations: 1.031 MB / 1.207 GB, free: 6.953 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007339/0.9149, allocations: 270.8 kB / 1.208 GB, free: 6.684 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002591/0.9151, allocations: 103.4 kB / 1.208 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of SimCode: time 6.01e-07/0.9151, allocations: 0 / 1.208 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of Templates: time 0.02356/0.9387, allocations: 15.72 MB / 1.223 GB, free: 7.035 MB / 0.92 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=480 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches