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.00159/0.001589, allocations: 105.8 kB / 16.41 MB, free: 6.488 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.001659/0.001659, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.506/1.506, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.713/2.713, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 67.89 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8627/0.8648, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.00748/0.8724, allocations: 4.951 MB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1961/1.069, allocations: 150.6 MB / 1.319 GB, free: 7.637 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/1.07, allocations: 23.88 kB / 1.319 GB, free: 7.613 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007373/1.071, allocations: 194.2 kB / 1.319 GB, free: 7.422 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002218/1.073, allocations: 0.5567 MB / 1.32 GB, free: 6.867 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002395/1.075, allocations: 0.8527 MB / 1.321 GB, free: 6.02 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002238/1.077, allocations: 1.428 MB / 1.322 GB, free: 4.586 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/1.078, allocations: 0.6023 MB / 1.323 GB, free: 3.961 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009737/1.079, allocations: 0.4983 MB / 1.323 GB, free: 3.461 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007339/1.08, allocations: 0.5095 MB / 1.324 GB, free: 2.949 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001884/1.08, allocations: 120 kB / 1.324 GB, free: 2.832 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00119/1.082, allocations: 495.6 kB / 1.324 GB, free: 2.348 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000332/1.082, allocations: 299 kB / 1.325 GB, free: 2.055 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0006511/1.083, allocations: 0.5752 MB / 1.325 GB, free: 1.477 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002603/1.085, allocations: 1.659 MB / 1.327 GB, free: 15.81 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/1.085, allocations: 0 / 1.327 GB, free: 15.81 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.312e-06/1.085, allocations: 4 kB / 1.327 GB, free: 15.81 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.5e-05/1.085, allocations: 0 / 1.327 GB, free: 15.81 MB / 1.061 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.003129/1.088, allocations: 1.495 MB / 1.328 GB, free: 14.26 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/1.089, allocations: 11.97 kB / 1.328 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/1.09, allocations: 240 kB / 1.329 GB, free: 14.01 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/1.091, allocations: 0.774 MB / 1.329 GB, free: 13.2 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.896e-05/1.091, allocations: 66 kB / 1.329 GB, free: 13.13 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/1.091, allocations: 84 kB / 1.329 GB, free: 13.05 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/1.093, allocations: 0.9871 MB / 1.33 GB, free: 12.01 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/1.093, allocations: 0 / 1.33 GB, free: 12.01 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.022e-05/1.093, allocations: 40 kB / 1.33 GB, free: 11.97 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/1.093, allocations: 20 kB / 1.33 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00214/1.096, allocations: 1.171 MB / 1.332 GB, free: 10.79 MB / 1.061 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.005267/1.101, allocations: 3.018 MB / 1.335 GB, free: 7.633 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002015/1.103, allocations: 0.9407 MB / 1.335 GB, free: 6.672 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006028/1.104, allocations: 314.7 kB / 1.336 GB, free: 6.363 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.681e-05/1.104, allocations: 32.61 kB / 1.336 GB, free: 6.332 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000988/1.105, allocations: 0.4979 MB / 1.336 GB, free: 5.82 MB / 1.061 GB Notification: Performance of pre-optimization done (n=83): time 2.745e-06/1.105, allocations: 0 / 1.336 GB, free: 5.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=83): time 0.003449/1.108, allocations: 1.236 MB / 1.337 GB, free: 4.559 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000152/1.108, allocations: 196.9 kB / 1.338 GB, free: 4.32 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/1.109, allocations: 0.6332 MB / 1.338 GB, free: 3.68 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.228e-05/1.109, allocations: 41.7 kB / 1.338 GB, free: 3.633 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004269/1.11, allocations: 417 kB / 1.339 GB, free: 3.219 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002857/1.11, allocations: 285.6 kB / 1.339 GB, free: 2.938 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003003/1.11, allocations: 170.5 kB / 1.339 GB, free: 2.766 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002332/1.111, allocations: 386.7 kB / 1.34 GB, free: 2.379 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005795/1.111, allocations: 277.8 kB / 1.34 GB, free: 2.109 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007132/1.112, allocations: 401.6 kB / 1.34 GB, free: 1.691 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/1.113, allocations: 0.6384 MB / 1.341 GB, free: 1.035 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.113, allocations: 4 kB / 1.341 GB, free: 1.031 MB / 1.061 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002144/1.115, allocations: 0.892 MB / 1.342 GB, free: 128 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/1.115, allocations: 10.34 kB / 1.342 GB, free: 120 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-06/1.115, allocations: 0 / 1.342 GB, free: 120 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005865/1.116, allocations: 80.97 kB / 1.342 GB, free: 36 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007495/1.117, allocations: 171.7 kB / 1.342 GB, free: 15.87 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002433/1.119, allocations: 1.641 MB / 1.344 GB, free: 14.08 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008762/1.12, allocations: 99.75 kB / 1.344 GB, free: 13.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.845e-05/1.12, allocations: 39.97 kB / 1.344 GB, free: 13.95 MB / 1.076 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.0005848/1.121, allocations: 283.8 kB / 1.344 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/1.121, allocations: 91.42 kB / 1.344 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002548/1.124, allocations: 1.081 MB / 1.345 GB, free: 12.47 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/1.124, allocations: 8 kB / 1.345 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/1.124, allocations: 4 kB / 1.345 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/1.124, allocations: 3.984 kB / 1.345 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003837/1.128, allocations: 2.088 MB / 1.347 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/1.128, allocations: 4 kB / 1.347 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006091/1.128, allocations: 147.8 kB / 1.347 GB, free: 10.15 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000478/1.129, allocations: 72.78 kB / 1.347 GB, free: 10.08 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.618e-05/1.129, allocations: 27.98 kB / 1.347 GB, free: 10.05 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002178/1.131, allocations: 1.666 MB / 1.349 GB, free: 8.238 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.131, allocations: 0 / 1.349 GB, free: 8.238 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/1.133, allocations: 1.018 MB / 1.35 GB, free: 7.199 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004443/1.134, allocations: 272.2 kB / 1.35 GB, free: 6.914 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/1.134, allocations: 24 kB / 1.35 GB, free: 6.891 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006558/1.134, allocations: 59.92 kB / 1.35 GB, free: 6.832 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002033/1.135, allocations: 80.78 kB / 1.35 GB, free: 6.754 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.966e-05/1.135, allocations: 43.91 kB / 1.35 GB, free: 6.711 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006531/1.135, allocations: 455 kB / 1.351 GB, free: 6.27 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.6e-07/1.135, allocations: 0 / 1.351 GB, free: 6.27 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009988/1.136, allocations: 339.1 kB / 1.351 GB, free: 5.938 MB / 1.076 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.002057/1.139, allocations: 0.6063 MB / 1.352 GB, free: 5.492 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001991/1.141, allocations: 0.8468 MB / 1.353 GB, free: 4.633 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.739e-05/1.141, allocations: 4 kB / 1.353 GB, free: 4.629 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/1.142, allocations: 0.5396 MB / 1.353 GB, free: 4.078 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/1.143, allocations: 323.9 kB / 1.353 GB, free: 3.789 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003362/1.146, allocations: 1.695 MB / 1.355 GB, free: 2.062 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007697/1.147, allocations: 1.035 MB / 1.356 GB, free: 1 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008575/1.148, allocations: 270.8 kB / 1.356 GB, free: 0.7305 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002883/1.148, allocations: 99.39 kB / 1.356 GB, free: 0.6328 MB / 1.076 GB Notification: Performance of SimCode: time 1.252e-06/1.148, allocations: 7.938 kB / 1.356 GB, free: 0.625 MB / 1.076 GB Notification: Performance of Templates: time 0.03176/1.18, allocations: 15.94 MB / 1.372 GB, free: 0.8203 MB / 1.092 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