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.001249/0.001249, allocations: 92.16 kB / 16.02 MB, free: 80 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.001465/0.001465, allocations: 172.9 kB / 16.92 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.498/1.498, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.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.875/2.875, allocations: 437.8 MB / 0.7128 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005708/0.0005712, allocations: 8 kB / 0.8735 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8465/0.8471, allocations: 153.8 MB / 1.024 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006205/0.8534, allocations: 4.523 MB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1709/1.024, allocations: 146.7 MB / 1.171 GB, free: 8.098 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001276/1.026, allocations: 15.88 kB / 1.171 GB, free: 8.082 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008875/1.027, allocations: 154.8 kB / 1.172 GB, free: 7.93 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002386/1.029, allocations: 485.3 kB / 1.172 GB, free: 7.457 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002577/1.032, allocations: 0.7406 MB / 1.173 GB, free: 6.723 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002157/1.034, allocations: 1.326 MB / 1.174 GB, free: 5.391 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/1.035, allocations: 0.5673 MB / 1.175 GB, free: 4.805 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008809/1.036, allocations: 366.2 kB / 1.175 GB, free: 4.445 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008914/1.037, allocations: 397.9 kB / 1.175 GB, free: 4.055 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002513/1.037, allocations: 24 kB / 1.175 GB, free: 4.031 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/1.038, allocations: 375.6 kB / 1.176 GB, free: 3.664 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003456/1.039, allocations: 187.1 kB / 1.176 GB, free: 3.48 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007919/1.039, allocations: 482.8 kB / 1.176 GB, free: 3 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001796/1.041, allocations: 1.188 MB / 1.177 GB, free: 1.809 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.041, allocations: 0 / 1.177 GB, free: 1.809 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.565e-06/1.041, allocations: 0 / 1.177 GB, free: 1.809 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.955e-05/1.041, allocations: 4 kB / 1.177 GB, free: 1.805 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.003163/1.044, allocations: 1.244 MB / 1.179 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/1.044, allocations: 19.97 kB / 1.179 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/1.046, allocations: 251.2 kB / 1.179 GB, free: 252 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/1.047, allocations: 0.7461 MB / 1.18 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.074e-05/1.048, allocations: 66 kB / 1.18 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001872/1.048, allocations: 87.98 kB / 1.18 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002174/1.05, allocations: 0.9873 MB / 1.181 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/1.05, allocations: 4 kB / 1.181 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/1.05, allocations: 43.94 kB / 1.181 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/1.05, allocations: 20 kB / 1.181 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002198/1.052, allocations: 1.178 MB / 1.182 GB, free: 13.03 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.005211/1.058, allocations: 3.076 MB / 1.185 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/1.06, allocations: 0.9748 MB / 1.186 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005997/1.06, allocations: 310.7 kB / 1.186 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.38e-05/1.06, allocations: 36.59 kB / 1.186 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000963/1.061, allocations: 0.5042 MB / 1.187 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=83): time 3.146e-06/1.061, allocations: 0 / 1.187 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of matching and sorting (n=83): time 0.00334/1.065, allocations: 1.243 MB / 1.188 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/1.065, allocations: 192.9 kB / 1.188 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/1.066, allocations: 0.637 MB / 1.189 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.658e-05/1.066, allocations: 41.7 kB / 1.189 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003758/1.066, allocations: 408.3 kB / 1.189 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002614/1.066, allocations: 276 kB / 1.19 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/1.067, allocations: 73.67 kB / 1.19 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001798/1.067, allocations: 386.8 kB / 1.19 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005719/1.067, allocations: 277.9 kB / 1.19 GB, free: 4.348 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006885/1.068, allocations: 393.7 kB / 1.191 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/1.069, allocations: 0.6541 MB / 1.191 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/1.069, allocations: 0 / 1.191 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002119/1.071, allocations: 0.8916 MB / 1.192 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/1.071, allocations: 13.91 kB / 1.192 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.072, allocations: 0 / 1.192 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006207/1.072, allocations: 88.77 kB / 1.192 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007059/1.073, allocations: 171.7 kB / 1.192 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/1.075, allocations: 1.528 MB / 1.194 GB, free: 432 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009291/1.076, allocations: 107.3 kB / 1.194 GB, free: 324 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.613e-05/1.076, allocations: 35.92 kB / 1.194 GB, free: 288 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.00061/1.077, allocations: 283.6 kB / 1.194 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002127/1.077, allocations: 82.97 kB / 1.194 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002585/1.08, allocations: 1.105 MB / 1.195 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/1.08, allocations: 15.94 kB / 1.195 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/1.08, allocations: 0 / 1.195 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/1.08, allocations: 3.984 kB / 1.195 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003917/1.084, allocations: 2.098 MB / 1.197 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/1.084, allocations: 3.984 kB / 1.197 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006206/1.084, allocations: 155.8 kB / 1.198 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005448/1.085, allocations: 80.78 kB / 1.198 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.661e-05/1.085, allocations: 27.97 kB / 1.198 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/1.087, allocations: 1.555 MB / 1.199 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.087, allocations: 0 / 1.199 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00218/1.089, allocations: 1.027 MB / 1.2 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005059/1.089, allocations: 287.6 kB / 1.201 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/1.09, allocations: 20 kB / 1.201 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007937/1.09, allocations: 91.89 kB / 1.201 GB, free: 9.188 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/1.091, allocations: 68.89 kB / 1.201 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.929e-05/1.091, allocations: 35.98 kB / 1.201 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006978/1.091, allocations: 459 kB / 1.201 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.091, allocations: 0 / 1.201 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001125/1.093, allocations: 331.2 kB / 1.202 GB, free: 8.316 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.001668/1.094, allocations: 0.6096 MB / 1.202 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001942/1.096, allocations: 0.8667 MB / 1.203 GB, free: 7 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/1.096, allocations: 0 / 1.203 GB, free: 7 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/1.097, allocations: 0.5237 MB / 1.203 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/1.099, allocations: 294.1 kB / 1.204 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003776/1.103, allocations: 2.167 MB / 1.206 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007352/1.103, allocations: 1.032 MB / 1.207 GB, free: 2.926 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003449/1.104, allocations: 119.4 kB / 1.207 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of SimCode: time 6.91e-07/1.104, allocations: 0 / 1.207 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of Templates: time 0.02987/1.134, allocations: 18.73 MB / 1.225 GB, free: 132 kB / 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/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