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.000981/0.000981, allocations: 97.33 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.007742/0.007742, allocations: 172 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.383/1.383, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.56/2.56, allocations: 437.8 MB / 0.7121 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003998/0.0004, allocations: 8 kB / 0.8728 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6185/0.6189, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005129/0.6241, allocations: 4.519 MB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1478/0.7719, allocations: 146.7 MB / 1.171 GB, free: 8.012 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007332/0.7727, allocations: 19.94 kB / 1.171 GB, free: 7.992 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006213/0.7733, allocations: 150.8 kB / 1.171 GB, free: 7.844 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001694/0.775, allocations: 493.4 kB / 1.171 GB, free: 7.363 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.7769, allocations: 0.7411 MB / 1.172 GB, free: 6.629 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001552/0.7785, allocations: 1.322 MB / 1.173 GB, free: 5.301 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009349/0.7794, allocations: 0.5712 MB / 1.174 GB, free: 4.711 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006577/0.7801, allocations: 362.2 kB / 1.174 GB, free: 4.355 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000675/0.7808, allocations: 393.9 kB / 1.175 GB, free: 3.969 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001545/0.7809, allocations: 31.94 kB / 1.175 GB, free: 3.938 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000942/0.7819, allocations: 367.7 kB / 1.175 GB, free: 3.578 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002658/0.7822, allocations: 195.1 kB / 1.175 GB, free: 3.387 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006061/0.7828, allocations: 490.8 kB / 1.176 GB, free: 2.898 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001871/0.7847, allocations: 1.507 MB / 1.177 GB, free: 1.387 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.7847, allocations: 4 kB / 1.177 GB, free: 1.383 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7847, allocations: 0 / 1.177 GB, free: 1.383 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.825e-05/0.7847, allocations: 0 / 1.177 GB, free: 1.383 MB / 0.92 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.002534/0.7873, allocations: 1.24 MB / 1.178 GB, free: 96 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.7873, allocations: 8.031 kB / 1.178 GB, free: 88 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/0.7887, allocations: 263.2 kB / 1.179 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.7899, allocations: 0.7461 MB / 1.179 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.048e-05/0.79, allocations: 66 kB / 1.179 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.7902, allocations: 87.94 kB / 1.179 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/0.7921, allocations: 0.9834 MB / 1.18 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.7921, allocations: 4 kB / 1.18 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.663e-05/0.7922, allocations: 43.98 kB / 1.18 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/0.7922, allocations: 24 kB / 1.181 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002054/0.7943, allocations: 1.175 MB / 1.182 GB, free: 12.61 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.004499/0.7988, allocations: 3.076 MB / 1.185 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/0.8007, allocations: 0.9694 MB / 1.186 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005562/0.8012, allocations: 322.6 kB / 1.186 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.593e-05/0.8013, allocations: 32.59 kB / 1.186 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008801/0.8022, allocations: 0.4964 MB / 1.186 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=83): time 2.935e-06/0.8022, allocations: 4 kB / 1.186 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of matching and sorting (n=83): time 0.003229/0.8055, allocations: 1.247 MB / 1.188 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.709e-05/0.8056, allocations: 188.9 kB / 1.188 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008509/0.8064, allocations: 0.637 MB / 1.188 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.577e-05/0.8065, allocations: 45.7 kB / 1.189 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003192/0.8068, allocations: 408.3 kB / 1.189 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000218/0.8071, allocations: 272 kB / 1.189 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.8072, allocations: 81.61 kB / 1.189 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.8073, allocations: 382.8 kB / 1.19 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000553/0.8079, allocations: 281.8 kB / 1.19 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006441/0.8086, allocations: 393.6 kB / 1.19 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.8097, allocations: 0.6541 MB / 1.191 GB, free: 2.844 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.8097, allocations: 0 / 1.191 GB, free: 2.844 MB / 0.9356 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002022/0.8118, allocations: 0.8994 MB / 1.192 GB, free: 1.938 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.8118, allocations: 4 kB / 1.192 GB, free: 1.934 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.8118, allocations: 4 kB / 1.192 GB, free: 1.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006077/0.8124, allocations: 84.95 kB / 1.192 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006783/0.8131, allocations: 179.7 kB / 1.192 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/0.8152, allocations: 1.525 MB / 1.194 GB, free: 0 / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008568/0.8161, allocations: 116.6 kB / 1.194 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.618e-05/0.8162, allocations: 35.97 kB / 1.194 GB, free: 15.85 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.0005122/0.8167, allocations: 275.6 kB / 1.194 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/0.8169, allocations: 82.97 kB / 1.194 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00248/0.8194, allocations: 1.101 MB / 1.195 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.8194, allocations: 11.94 kB / 1.195 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.8194, allocations: 0 / 1.195 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.8194, allocations: 3.984 kB / 1.195 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003733/0.8232, allocations: 2.11 MB / 1.197 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/0.8232, allocations: 4 kB / 1.197 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006256/0.8238, allocations: 151.8 kB / 1.197 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000529/0.8244, allocations: 88.77 kB / 1.197 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-05/0.8244, allocations: 27.98 kB / 1.197 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001841/0.8263, allocations: 1.532 MB / 1.199 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.8263, allocations: 8 kB / 1.199 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002122/0.8284, allocations: 1.019 MB / 1.2 GB, free: 9.191 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004729/0.8289, allocations: 287.7 kB / 1.2 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/0.8291, allocations: 19.98 kB / 1.2 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007789/0.8299, allocations: 90.72 kB / 1.2 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/0.8301, allocations: 84.77 kB / 1.2 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.829e-05/0.8302, allocations: 39.97 kB / 1.2 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000669/0.8309, allocations: 455 kB / 1.201 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8309, allocations: 0 / 1.201 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001007/0.8319, allocations: 331.3 kB / 1.201 GB, free: 7.898 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.001457/0.8333, allocations: 0.6028 MB / 1.202 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001827/0.8352, allocations: 0.8663 MB / 1.203 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.8352, allocations: 4 kB / 1.203 GB, free: 6.586 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009519/0.8362, allocations: 0.5279 MB / 1.203 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/0.8377, allocations: 291.5 kB / 1.203 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003455/0.8412, allocations: 2.131 MB / 1.205 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005295/0.8417, allocations: 1.033 MB / 1.206 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008848/0.8426, allocations: 270.8 kB / 1.207 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002754/0.8429, allocations: 103.4 kB / 1.207 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of SimCode: time 7.01e-07/0.8429, allocations: 0 / 1.207 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of Templates: time 0.02591/0.8688, allocations: 14.97 MB / 1.221 GB, free: 3.379 MB / 0.9669 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 -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