Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001208/0.001208, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001137/0.001137, allocations: 187 kB / 17.34 MB, free: 5.719 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.222/1.222, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.355/2.355, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 59.91 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6552/0.6564, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005713/0.6621, allocations: 4.931 MB / 1.213 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1383/0.8005, allocations: 150.6 MB / 1.36 GB, free: 1.445 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007453/0.8013, allocations: 15.94 kB / 1.36 GB, free: 1.43 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006404/0.8019, allocations: 194.2 kB / 1.361 GB, free: 1.238 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001687/0.8036, allocations: 0.5511 MB / 1.361 GB, free: 0.6875 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001827/0.8055, allocations: 0.8574 MB / 1.362 GB, free: 15.84 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001464/0.8069, allocations: 1.428 MB / 1.363 GB, free: 14.4 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008182/0.8078, allocations: 0.6028 MB / 1.364 GB, free: 13.78 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006947/0.8085, allocations: 0.5022 MB / 1.364 GB, free: 13.28 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006445/0.8091, allocations: 0.5134 MB / 1.365 GB, free: 12.76 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002101/0.8094, allocations: 116 kB / 1.365 GB, free: 12.65 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008443/0.8102, allocations: 491.6 kB / 1.365 GB, free: 12.17 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002611/0.8105, allocations: 303 kB / 1.366 GB, free: 11.87 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005088/0.811, allocations: 0.5713 MB / 1.366 GB, free: 11.3 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.8127, allocations: 1.649 MB / 1.368 GB, free: 9.645 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.8127, allocations: 0 / 1.368 GB, free: 9.645 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8127, allocations: 0 / 1.368 GB, free: 9.645 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.946e-05/0.8127, allocations: 0 / 1.368 GB, free: 9.645 MB / 1.092 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.00249/0.8152, allocations: 1.462 MB / 1.369 GB, free: 8.129 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.8153, allocations: 12.03 kB / 1.369 GB, free: 8.117 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/0.8165, allocations: 243.2 kB / 1.37 GB, free: 7.879 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.8175, allocations: 0.7617 MB / 1.37 GB, free: 7.078 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.888e-05/0.8176, allocations: 73.92 kB / 1.37 GB, free: 7.004 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.8177, allocations: 84 kB / 1.37 GB, free: 6.922 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.8193, allocations: 0.9794 MB / 1.371 GB, free: 5.895 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.8193, allocations: 0 / 1.371 GB, free: 5.895 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.472e-05/0.8194, allocations: 43.92 kB / 1.371 GB, free: 5.852 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.8195, allocations: 20 kB / 1.371 GB, free: 5.832 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/0.8212, allocations: 1.159 MB / 1.373 GB, free: 4.672 MB / 1.092 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.003837/0.8251, allocations: 3.013 MB / 1.376 GB, free: 1.527 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.8267, allocations: 0.9445 MB / 1.376 GB, free: 0.5586 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000491/0.8272, allocations: 310.7 kB / 1.377 GB, free: 256 kB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.058e-05/0.8273, allocations: 32.59 kB / 1.377 GB, free: 224 kB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007737/0.8281, allocations: 0.4964 MB / 1.377 GB, free: 15.71 MB / 1.107 GB Notification: Performance of pre-optimization done (n=83): time 2.375e-06/0.8281, allocations: 4 kB / 1.377 GB, free: 15.7 MB / 1.107 GB Notification: Performance of matching and sorting (n=83): time 0.002904/0.831, allocations: 1.228 MB / 1.378 GB, free: 14.45 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.205e-05/0.8311, allocations: 188.9 kB / 1.379 GB, free: 14.22 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007101/0.8319, allocations: 0.637 MB / 1.379 GB, free: 13.57 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.61e-05/0.8319, allocations: 49.64 kB / 1.379 GB, free: 13.52 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002757/0.8322, allocations: 416.3 kB / 1.38 GB, free: 13.1 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/0.8324, allocations: 272 kB / 1.38 GB, free: 12.83 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002237/0.8326, allocations: 166.5 kB / 1.38 GB, free: 12.66 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.8328, allocations: 390.8 kB / 1.381 GB, free: 12.27 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004973/0.8333, allocations: 273.8 kB / 1.381 GB, free: 12 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005879/0.8339, allocations: 389.7 kB / 1.381 GB, free: 11.6 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.8349, allocations: 0.6385 MB / 1.382 GB, free: 10.95 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.8349, allocations: 0 / 1.382 GB, free: 10.95 MB / 1.107 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00181/0.8368, allocations: 0.8955 MB / 1.383 GB, free: 10.04 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.8368, allocations: 4 kB / 1.383 GB, free: 10.03 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.8368, allocations: 4 kB / 1.383 GB, free: 10.03 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005438/0.8374, allocations: 84.95 kB / 1.383 GB, free: 9.941 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006365/0.838, allocations: 171.7 kB / 1.383 GB, free: 9.773 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/0.84, allocations: 1.641 MB / 1.385 GB, free: 7.992 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006888/0.8407, allocations: 103.3 kB / 1.385 GB, free: 7.891 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.892e-05/0.8407, allocations: 35.97 kB / 1.385 GB, free: 7.855 MB / 1.107 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.000353/0.8411, allocations: 271.4 kB / 1.385 GB, free: 7.582 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.8413, allocations: 82.97 kB / 1.385 GB, free: 7.5 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00218/0.8434, allocations: 1.089 MB / 1.386 GB, free: 6.398 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.8435, allocations: 8 kB / 1.386 GB, free: 6.391 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.8435, allocations: 4 kB / 1.386 GB, free: 6.387 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.966e-06/0.8435, allocations: 7.984 kB / 1.386 GB, free: 6.379 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003151/0.8466, allocations: 2.087 MB / 1.388 GB, free: 4.219 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.8467, allocations: 0 / 1.388 GB, free: 4.219 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005504/0.8472, allocations: 151.8 kB / 1.388 GB, free: 4.07 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004133/0.8476, allocations: 72.78 kB / 1.388 GB, free: 3.996 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.537e-05/0.8477, allocations: 23.98 kB / 1.388 GB, free: 3.973 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/0.8494, allocations: 1.662 MB / 1.39 GB, free: 2.164 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.8494, allocations: 0 / 1.39 GB, free: 2.164 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001854/0.8513, allocations: 1.017 MB / 1.391 GB, free: 1.129 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003411/0.8516, allocations: 275.7 kB / 1.391 GB, free: 0.8398 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.8518, allocations: 20 kB / 1.391 GB, free: 0.8203 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006522/0.8524, allocations: 64.06 kB / 1.391 GB, free: 0.7578 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.8526, allocations: 84.83 kB / 1.391 GB, free: 0.6719 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.006e-05/0.8526, allocations: 27.98 kB / 1.391 GB, free: 0.6445 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.000517/0.8532, allocations: 459 kB / 1.392 GB, free: 208 kB / 1.107 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8532, allocations: 0 / 1.392 GB, free: 208 kB / 1.107 GB Notification: Performance of remove unused functions: time 0.0008105/0.854, allocations: 331.3 kB / 1.392 GB, free: 15.88 MB / 1.123 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.001262/0.8553, allocations: 0.6041 MB / 1.393 GB, free: 15.45 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001598/0.8569, allocations: 0.8623 MB / 1.394 GB, free: 14.58 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.8569, allocations: 0 / 1.394 GB, free: 14.58 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.000859/0.8577, allocations: 0.5241 MB / 1.394 GB, free: 14.04 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.859, allocations: 317.2 kB / 1.394 GB, free: 13.75 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/0.8617, allocations: 1.71 MB / 1.396 GB, free: 12 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000523/0.8623, allocations: 1.028 MB / 1.397 GB, free: 10.95 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000304/0.8626, allocations: 123.4 kB / 1.397 GB, free: 10.82 MB / 1.123 GB Notification: Performance of SimCode: time 5.61e-07/0.8626, allocations: 0 / 1.397 GB, free: 10.82 MB / 1.123 GB Notification: Performance of Templates: time 0.02202/0.8846, allocations: 18.97 MB / 1.416 GB, free: 7.906 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches