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.001702/0.001701, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001939/0.001939, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.477/1.477, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.817/2.817, allocations: 437 MB / 0.71 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 71.88 kB / 0.8686 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6316/0.6336, allocations: 151.6 MB / 1.017 GB, free: 2.898 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007556/0.6412, allocations: 4.955 MB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.185/0.8262, allocations: 148.3 MB / 1.166 GB, free: 9.031 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009675/0.8272, allocations: 19.88 kB / 1.166 GB, free: 9.012 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006466/0.8279, allocations: 146.8 kB / 1.166 GB, free: 8.867 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001833/0.8298, allocations: 489.5 kB / 1.167 GB, free: 8.391 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00208/0.8318, allocations: 0.7333 MB / 1.168 GB, free: 7.664 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00164/0.8335, allocations: 1.334 MB / 1.169 GB, free: 6.324 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009692/0.8345, allocations: 0.5751 MB / 1.17 GB, free: 5.73 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007696/0.8353, allocations: 446.2 kB / 1.17 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006177/0.8359, allocations: 493.7 kB / 1.17 GB, free: 4.809 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001325/0.836, allocations: 56 kB / 1.17 GB, free: 4.754 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009578/0.837, allocations: 403.6 kB / 1.171 GB, free: 4.359 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002715/0.8373, allocations: 243 kB / 1.171 GB, free: 4.121 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005517/0.8378, allocations: 0.5089 MB / 1.172 GB, free: 3.609 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00185/0.8397, allocations: 1.558 MB / 1.173 GB, free: 2.047 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.8397, allocations: 0 / 1.173 GB, free: 2.047 MB / 0.92 GB Notification: Performance of FrontEnd: time 8.22e-07/0.8397, allocations: 0 / 1.173 GB, free: 2.047 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.741e-05/0.8397, allocations: 0 / 1.173 GB, free: 2.047 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.002945/0.8427, allocations: 1.466 MB / 1.175 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.8427, allocations: 8.031 kB / 1.175 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.844, allocations: 227.4 kB / 1.175 GB, free: 308 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.8452, allocations: 0.7499 MB / 1.175 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.458e-05/0.8453, allocations: 65.94 kB / 1.176 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.8455, allocations: 87.98 kB / 1.176 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001868/0.8473, allocations: 0.9794 MB / 1.177 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.8474, allocations: 3.938 kB / 1.177 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.767e-05/0.8475, allocations: 40 kB / 1.177 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/0.8475, allocations: 20 kB / 1.177 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002098/0.8496, allocations: 1.167 MB / 1.178 GB, free: 13.1 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.005021/0.8546, allocations: 3.029 MB / 1.181 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001962/0.8566, allocations: 0.9577 MB / 1.182 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005928/0.8572, allocations: 311.9 kB / 1.182 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.843e-05/0.8573, allocations: 28.61 kB / 1.182 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.8584, allocations: 0.5041 MB / 1.182 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=83): time 2.544e-06/0.8584, allocations: 0 / 1.182 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of matching and sorting (n=83): time 0.003516/0.8619, allocations: 1.231 MB / 1.184 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.8621, allocations: 192.9 kB / 1.184 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009093/0.863, allocations: 0.637 MB / 1.185 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.77e-05/0.8631, allocations: 45.7 kB / 1.185 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003823/0.8635, allocations: 408.2 kB / 1.185 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002531/0.8637, allocations: 276.1 kB / 1.185 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002913/0.864, allocations: 170.4 kB / 1.185 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002128/0.8642, allocations: 390.7 kB / 1.186 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005751/0.8648, allocations: 269.9 kB / 1.186 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007098/0.8655, allocations: 393.7 kB / 1.186 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.8668, allocations: 0.6462 MB / 1.187 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.8668, allocations: 0 / 1.187 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002203/0.869, allocations: 0.8877 MB / 1.188 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.869, allocations: 6.375 kB / 1.188 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.8691, allocations: 8 kB / 1.188 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000635/0.8697, allocations: 76.77 kB / 1.188 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007178/0.8704, allocations: 175.7 kB / 1.188 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002299/0.8727, allocations: 1.525 MB / 1.19 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008215/0.8736, allocations: 95.39 kB / 1.19 GB, free: 420 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.399e-05/0.8737, allocations: 39.97 kB / 1.19 GB, free: 380 kB / 0.9356 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.0005025/0.8742, allocations: 271.4 kB / 1.19 GB, free: 100 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/0.8744, allocations: 82.97 kB / 1.19 GB, free: 16 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00265/0.877, allocations: 1.089 MB / 1.191 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.8771, allocations: 15.94 kB / 1.191 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.8771, allocations: 4.031 kB / 1.191 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/0.8771, allocations: 11.97 kB / 1.191 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003896/0.881, allocations: 2.09 MB / 1.193 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.881, allocations: 0 / 1.193 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006438/0.8817, allocations: 147.8 kB / 1.193 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005508/0.8822, allocations: 84.77 kB / 1.193 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.436e-05/0.8823, allocations: 27.92 kB / 1.193 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002083/0.8844, allocations: 1.544 MB / 1.195 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.8844, allocations: 0 / 1.195 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002257/0.8867, allocations: 1.012 MB / 1.196 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004448/0.8871, allocations: 275.7 kB / 1.196 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.8873, allocations: 27.94 kB / 1.196 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007147/0.888, allocations: 63.94 kB / 1.196 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.8882, allocations: 72.83 kB / 1.196 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.939e-05/0.8883, allocations: 39.97 kB / 1.196 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000638/0.8889, allocations: 459 kB / 1.197 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8889, allocations: 0 / 1.197 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009419/0.8899, allocations: 323.3 kB / 1.197 GB, free: 8.496 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.001971/0.8918, allocations: 0.621 MB / 1.198 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001852/0.8937, allocations: 0.8472 MB / 1.199 GB, free: 7.188 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8937, allocations: 4 kB / 1.199 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.8947, allocations: 0.5197 MB / 1.199 GB, free: 6.656 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.8961, allocations: 301.9 kB / 1.199 GB, free: 6.363 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003494/0.8996, allocations: 2.112 MB / 1.201 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007141/0.9003, allocations: 1.024 MB / 1.202 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000953/0.9013, allocations: 266.8 kB / 1.203 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002949/0.9016, allocations: 111.4 kB / 1.203 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of SimCode: time 5.41e-07/0.9016, allocations: 0 / 1.203 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of Templates: time 0.02879/0.9304, allocations: 15.06 MB / 1.218 GB, free: 3.906 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=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