Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.004761/0.004761, allocations: 100.1 kB / 15.73 MB, free: 6.445 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.001136/0.001136, allocations: 194.3 kB / 16.67 MB, free: 6.352 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.704/2.704, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 64.11 kB / 1.065 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2816, allocations: 159.1 MB / 1.221 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006222/0.2878, allocations: 4.952 MB / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.8079/1.096, allocations: 151.1 MB / 1.373 GB, free: 10.86 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/1.097, allocations: 16 kB / 1.373 GB, free: 10.85 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0009213/1.098, allocations: 190.7 kB / 1.373 GB, free: 10.73 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002153/1.1, allocations: 0.5587 MB / 1.374 GB, free: 10.41 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002426/1.102, allocations: 0.8604 MB / 1.375 GB, free: 9.965 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001983/1.104, allocations: 1.418 MB / 1.376 GB, free: 9.234 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008729/1.105, allocations: 440.8 kB / 1.376 GB, free: 8.969 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009519/1.106, allocations: 0.4971 MB / 1.377 GB, free: 8.723 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008578/1.107, allocations: 0.5139 MB / 1.377 GB, free: 8.453 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003096/1.107, allocations: 117.3 kB / 1.377 GB, free: 8.453 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/1.108, allocations: 489 kB / 1.378 GB, free: 8.336 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000327/1.109, allocations: 301.3 kB / 1.378 GB, free: 8.145 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007664/1.109, allocations: 0.5736 MB / 1.379 GB, free: 7.762 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002158/1.112, allocations: 1.661 MB / 1.38 GB, free: 6.797 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/1.112, allocations: 0 / 1.38 GB, free: 6.797 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.323e-06/1.112, allocations: 1.062 kB / 1.38 GB, free: 6.797 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.609e-05/1.112, allocations: 0 / 1.38 GB, free: 6.797 MB / 1.076 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.003149/1.115, allocations: 1.493 MB / 1.382 GB, free: 5.621 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/1.115, allocations: 14.44 kB / 1.382 GB, free: 5.617 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/1.116, allocations: 235.2 kB / 1.382 GB, free: 5.504 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/1.118, allocations: 0.7805 MB / 1.383 GB, free: 4.863 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.245e-05/1.118, allocations: 66.06 kB / 1.383 GB, free: 4.836 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/1.118, allocations: 84.94 kB / 1.383 GB, free: 4.809 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/1.12, allocations: 0.9807 MB / 1.384 GB, free: 4.164 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/1.12, allocations: 0 / 1.384 GB, free: 4.164 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.285e-05/1.12, allocations: 37.25 kB / 1.384 GB, free: 4.137 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/1.12, allocations: 23.94 kB / 1.384 GB, free: 4.137 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002035/1.122, allocations: 1.167 MB / 1.385 GB, free: 3.582 MB / 1.076 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.004608/1.126, allocations: 3.01 MB / 1.388 GB, free: 1.113 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/1.128, allocations: 0.8993 MB / 1.389 GB, free: 0.5977 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005458/1.129, allocations: 292.6 kB / 1.389 GB, free: 452 kB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.7e-05/1.129, allocations: 31.17 kB / 1.389 GB, free: 432 kB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008814/1.13, allocations: 0.4982 MB / 1.39 GB, free: 108 kB / 1.076 GB Notification: Performance of pre-optimization done (n=83): time 2.856e-06/1.13, allocations: 0 / 1.39 GB, free: 108 kB / 1.076 GB Notification: Performance of matching and sorting (n=83): time 0.003388/1.133, allocations: 1.233 MB / 1.391 GB, free: 15.43 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/1.133, allocations: 194.2 kB / 1.391 GB, free: 15.21 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008785/1.134, allocations: 0.641 MB / 1.392 GB, free: 14.83 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.047e-05/1.134, allocations: 38.86 kB / 1.392 GB, free: 14.79 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003275/1.134, allocations: 417.8 kB / 1.392 GB, free: 14.43 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/1.135, allocations: 292.6 kB / 1.392 GB, free: 14.17 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002691/1.135, allocations: 169.9 kB / 1.393 GB, free: 14.07 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001736/1.135, allocations: 388.5 kB / 1.393 GB, free: 13.7 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005575/1.136, allocations: 276 kB / 1.393 GB, free: 13.57 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006752/1.136, allocations: 396.8 kB / 1.394 GB, free: 13.32 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/1.138, allocations: 0.6418 MB / 1.394 GB, free: 12.96 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/1.138, allocations: 0 / 1.394 GB, free: 12.96 MB / 1.092 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002142/1.14, allocations: 0.8952 MB / 1.395 GB, free: 12.5 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/1.14, allocations: 5.656 kB / 1.395 GB, free: 12.5 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.14, allocations: 6.391 kB / 1.395 GB, free: 12.49 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006355/1.14, allocations: 77.5 kB / 1.395 GB, free: 12.46 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007469/1.141, allocations: 175.9 kB / 1.395 GB, free: 12.41 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/1.143, allocations: 1.619 MB / 1.397 GB, free: 10.82 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008456/1.144, allocations: 106.7 kB / 1.397 GB, free: 10.75 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.351e-05/1.144, allocations: 40.72 kB / 1.397 GB, free: 10.73 MB / 1.092 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.0004654/1.145, allocations: 275 kB / 1.397 GB, free: 10.52 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/1.145, allocations: 87.31 kB / 1.397 GB, free: 10.47 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002427/1.147, allocations: 1.089 MB / 1.399 GB, free: 9.863 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/1.147, allocations: 9.188 kB / 1.399 GB, free: 9.863 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.147, allocations: 5.094 kB / 1.399 GB, free: 9.859 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/1.147, allocations: 3.984 kB / 1.399 GB, free: 9.855 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003574/1.151, allocations: 2.097 MB / 1.401 GB, free: 8.438 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/1.151, allocations: 1.312 kB / 1.401 GB, free: 8.438 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006186/1.152, allocations: 148 kB / 1.401 GB, free: 8.406 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004476/1.152, allocations: 74.16 kB / 1.401 GB, free: 8.367 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-05/1.152, allocations: 23.95 kB / 1.401 GB, free: 8.352 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001967/1.154, allocations: 1.675 MB / 1.402 GB, free: 6.723 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/1.154, allocations: 4.062 kB / 1.402 GB, free: 6.719 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002013/1.156, allocations: 1.015 MB / 1.403 GB, free: 6.145 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004098/1.157, allocations: 278.3 kB / 1.404 GB, free: 5.902 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/1.157, allocations: 17.66 kB / 1.404 GB, free: 5.891 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007099/1.157, allocations: 61.78 kB / 1.404 GB, free: 5.859 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/1.158, allocations: 76.36 kB / 1.404 GB, free: 5.82 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.419e-05/1.158, allocations: 38.12 kB / 1.404 GB, free: 5.805 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005784/1.158, allocations: 460.7 kB / 1.404 GB, free: 5.539 MB / 1.092 GB Notification: Performance of sort global known variables: time 8e-08/1.158, allocations: 0 / 1.404 GB, free: 5.539 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001002/1.159, allocations: 333.3 kB / 1.405 GB, free: 5.445 MB / 1.092 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.00153/1.161, allocations: 0.6127 MB / 1.405 GB, free: 5.148 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001804/1.163, allocations: 0.822 MB / 1.406 GB, free: 4.715 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/1.163, allocations: 0 / 1.406 GB, free: 4.715 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0009522/1.163, allocations: 0.5021 MB / 1.407 GB, free: 4.418 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/1.165, allocations: 320.8 kB / 1.407 GB, free: 4.258 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002946/1.168, allocations: 1.691 MB / 1.408 GB, free: 3.25 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006206/1.168, allocations: 1.027 MB / 1.409 GB, free: 2.41 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0007477/1.169, allocations: 271.4 kB / 1.41 GB, free: 2.273 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002456/1.169, allocations: 106.9 kB / 1.41 GB, free: 2.238 MB / 1.092 GB Notification: Performance of SimCode: time 5.71e-07/1.169, allocations: 0 / 1.41 GB, free: 2.238 MB / 1.092 GB Notification: Performance of Templates: time 0.02822/1.198, allocations: 15.97 MB / 1.425 GB, free: 2.875 MB / 1.107 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches