Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01047/0.01047, allocations: 100 kB / 15.73 MB, free: 6.062 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.002184/0.002184, allocations: 193.9 kB / 16.67 MB, free: 5.973 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.592/2.592, allocations: 469.8 MB / 0.7425 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 67.89 kB / 1.065 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8944/0.8956, allocations: 159.1 MB / 1.221 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007961/0.9036, allocations: 5.175 MB / 1.226 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.185/1.089, allocations: 151.1 MB / 1.373 GB, free: 5.25 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009981/1.09, allocations: 23.81 kB / 1.373 GB, free: 5.227 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006621/1.09, allocations: 202.1 kB / 1.373 GB, free: 5.027 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00167/1.092, allocations: 0.5732 MB / 1.374 GB, free: 4.457 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001916/1.094, allocations: 0.8587 MB / 1.375 GB, free: 3.602 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001422/1.095, allocations: 1.456 MB / 1.376 GB, free: 2.141 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007288/1.096, allocations: 483.1 kB / 1.377 GB, free: 1.645 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006686/1.097, allocations: 0.5217 MB / 1.377 GB, free: 1.121 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005953/1.097, allocations: 0.5562 MB / 1.378 GB, free: 0.5625 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001506/1.097, allocations: 128 kB / 1.378 GB, free: 448 kB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008932/1.098, allocations: 0.4918 MB / 1.378 GB, free: 15.94 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004333/1.099, allocations: 318.9 kB / 1.379 GB, free: 15.63 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0006794/1.099, allocations: 0.6102 MB / 1.379 GB, free: 15.02 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002117/1.102, allocations: 1.762 MB / 1.381 GB, free: 13.25 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.102, allocations: 0 / 1.381 GB, free: 13.25 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.492e-06/1.102, allocations: 0 / 1.381 GB, free: 13.25 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.786e-05/1.102, allocations: 0 / 1.381 GB, free: 13.25 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002616/1.104, allocations: 1.541 MB / 1.382 GB, free: 11.65 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/1.104, allocations: 16.62 kB / 1.382 GB, free: 11.64 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001844/1.106, allocations: 303.9 kB / 1.383 GB, free: 11.34 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/1.107, allocations: 0.7973 MB / 1.384 GB, free: 10.5 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.509e-05/1.107, allocations: 74 kB / 1.384 GB, free: 10.43 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/1.107, allocations: 92 kB / 1.384 GB, free: 10.34 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/1.109, allocations: 1.077 MB / 1.385 GB, free: 9.219 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/1.109, allocations: 0 / 1.385 GB, free: 9.219 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-05/1.109, allocations: 43.98 kB / 1.385 GB, free: 9.176 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/1.109, allocations: 28 kB / 1.385 GB, free: 9.148 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002294/1.112, allocations: 1.268 MB / 1.386 GB, free: 7.883 MB / 1.107 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.004519/1.116, allocations: 2.952 MB / 1.389 GB, free: 4.805 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002506/1.119, allocations: 0.9887 MB / 1.39 GB, free: 3.789 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007624/1.12, allocations: 338.6 kB / 1.39 GB, free: 3.457 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.471e-05/1.12, allocations: 36.59 kB / 1.39 GB, free: 3.422 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001102/1.121, allocations: 0.5503 MB / 1.391 GB, free: 2.859 MB / 1.107 GB Notification: Performance of pre-optimization done (n=84): time 2.555e-06/1.121, allocations: 4 kB / 1.391 GB, free: 2.855 MB / 1.107 GB Notification: Performance of matching and sorting (n=84): time 0.003944/1.125, allocations: 1.388 MB / 1.392 GB, free: 1.438 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/1.125, allocations: 196.9 kB / 1.392 GB, free: 1.203 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007967/1.126, allocations: 0.641 MB / 1.393 GB, free: 0.5547 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.952e-05/1.126, allocations: 45.69 kB / 1.393 GB, free: 0.5039 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003313/1.126, allocations: 429.1 kB / 1.393 GB, free: 80 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/1.126, allocations: 289.7 kB / 1.394 GB, free: 15.79 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002496/1.126, allocations: 170.6 kB / 1.394 GB, free: 15.62 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001656/1.127, allocations: 390.8 kB / 1.394 GB, free: 15.23 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007516/1.127, allocations: 321.8 kB / 1.395 GB, free: 14.91 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000832/1.128, allocations: 430.9 kB / 1.395 GB, free: 14.48 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/1.13, allocations: 0.714 MB / 1.396 GB, free: 13.75 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.13, allocations: 0 / 1.396 GB, free: 13.75 MB / 1.123 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00241/1.132, allocations: 0.966 MB / 1.397 GB, free: 12.78 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/1.132, allocations: 7.984 kB / 1.397 GB, free: 12.77 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/1.132, allocations: 0 / 1.397 GB, free: 12.77 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006327/1.133, allocations: 80.88 kB / 1.397 GB, free: 12.69 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008252/1.134, allocations: 195.7 kB / 1.397 GB, free: 12.5 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00218/1.136, allocations: 1.635 MB / 1.398 GB, free: 10.71 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009206/1.137, allocations: 107.5 kB / 1.399 GB, free: 10.61 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.219e-05/1.137, allocations: 39.97 kB / 1.399 GB, free: 10.57 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (98): * Single equations (assignments): 97 * 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.0005348/1.137, allocations: 279.4 kB / 1.399 GB, free: 10.29 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/1.137, allocations: 87.44 kB / 1.399 GB, free: 10.2 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002899/1.14, allocations: 1.21 MB / 1.4 GB, free: 8.973 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/1.14, allocations: 8 kB / 1.4 GB, free: 8.965 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/1.14, allocations: 0 / 1.4 GB, free: 8.965 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/1.14, allocations: 3.984 kB / 1.4 GB, free: 8.961 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003764/1.144, allocations: 2.133 MB / 1.402 GB, free: 6.773 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/1.144, allocations: 4 kB / 1.402 GB, free: 6.77 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007469/1.145, allocations: 175.8 kB / 1.402 GB, free: 6.598 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004355/1.145, allocations: 76.78 kB / 1.402 GB, free: 6.52 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.18e-05/1.145, allocations: 23.98 kB / 1.403 GB, free: 6.496 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002044/1.147, allocations: 1.67 MB / 1.404 GB, free: 4.684 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.147, allocations: 0 / 1.404 GB, free: 4.684 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002386/1.15, allocations: 1.116 MB / 1.405 GB, free: 3.547 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003986/1.15, allocations: 288.2 kB / 1.406 GB, free: 3.246 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/1.15, allocations: 19.95 kB / 1.406 GB, free: 3.227 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007889/1.151, allocations: 83.91 kB / 1.406 GB, free: 3.145 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/1.151, allocations: 80.83 kB / 1.406 GB, free: 3.066 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.529e-05/1.151, allocations: 35.98 kB / 1.406 GB, free: 3.031 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005979/1.152, allocations: 475 kB / 1.406 GB, free: 2.57 MB / 1.123 GB Notification: Performance of sort global known variables: time 8.1e-08/1.152, allocations: 0 / 1.406 GB, free: 2.57 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009477/1.153, allocations: 347.1 kB / 1.406 GB, free: 2.23 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 (97): * Single equations (assignments): 91 * 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.001385/1.154, allocations: 0.6082 MB / 1.407 GB, free: 1.797 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002142/1.156, allocations: 0.9172 MB / 1.408 GB, free: 0.8672 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.156, allocations: 0 / 1.408 GB, free: 0.8672 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/1.158, allocations: 0.5586 MB / 1.409 GB, free: 304 kB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/1.159, allocations: 310.7 kB / 1.409 GB, free: 20 kB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/1.162, allocations: 1.808 MB / 1.411 GB, free: 14.18 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006652/1.163, allocations: 1.047 MB / 1.412 GB, free: 13.1 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0008347/1.164, allocations: 286.8 kB / 1.412 GB, free: 12.81 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/1.164, allocations: 107.4 kB / 1.412 GB, free: 12.71 MB / 1.139 GB Notification: Performance of SimCode: time 9.11e-07/1.164, allocations: 4 kB / 1.412 GB, free: 12.7 MB / 1.139 GB Notification: Performance of Templates: time 0.02881/1.193, allocations: 16.12 MB / 1.428 GB, free: 12.77 MB / 1.154 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches