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.001785/0.001785, allocations: 107.9 kB / 15.99 MB, free: 5.91 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.001928/0.001928, allocations: 192.5 kB / 16.91 MB, free: 5.754 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.451/1.451, allocations: 222.9 MB / 240.6 MB, free: 15.42 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.775/2.775, allocations: 469.8 MB / 0.7427 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 64.34 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3725, allocations: 159.1 MB / 1.064 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.00815/0.3807, allocations: 5.16 MB / 1.069 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.8398/1.221, allocations: 148.4 MB / 1.214 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009844/1.222, allocations: 15.34 kB / 1.214 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007091/1.222, allocations: 158.4 kB / 1.214 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002382/1.225, allocations: 0.4996 MB / 1.215 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002374/1.227, allocations: 0.7663 MB / 1.216 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002231/1.229, allocations: 1.449 MB / 1.217 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/1.231, allocations: 0.6617 MB / 1.218 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009692/1.232, allocations: 0.5159 MB / 1.218 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007737/1.232, allocations: 0.5579 MB / 1.219 GB, free: 8 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001867/1.233, allocations: 127.7 kB / 1.219 GB, free: 8 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/1.234, allocations: 470.4 kB / 1.219 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003591/1.234, allocations: 324.5 kB / 1.22 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007116/1.235, allocations: 0.6172 MB / 1.22 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001878/1.237, allocations: 1.309 MB / 1.221 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.237, allocations: 7.688 kB / 1.221 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.277e-06/1.237, allocations: 0 / 1.221 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.997e-05/1.237, allocations: 0 / 1.221 GB, free: 6.191 MB / 0.9356 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.00308/1.24, allocations: 1.506 MB / 1.223 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/1.24, allocations: 12.47 kB / 1.223 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001752/1.242, allocations: 305.7 kB / 1.223 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/1.243, allocations: 0.7603 MB / 1.224 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.718e-05/1.243, allocations: 73.69 kB / 1.224 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/1.243, allocations: 94.17 kB / 1.224 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002095/1.245, allocations: 1.07 MB / 1.225 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/1.245, allocations: 4 kB / 1.225 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/1.245, allocations: 42.22 kB / 1.225 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/1.245, allocations: 23.06 kB / 1.225 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00247/1.248, allocations: 1.269 MB / 1.226 GB, free: 2.691 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.00558/1.253, allocations: 2.975 MB / 1.229 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002753/1.256, allocations: 1.042 MB / 1.23 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008341/1.257, allocations: 366.6 kB / 1.231 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.063e-05/1.257, allocations: 24.61 kB / 1.231 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001239/1.258, allocations: 0.5646 MB / 1.231 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=84): time 2.485e-06/1.258, allocations: 0 / 1.231 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of matching and sorting (n=84): time 0.004224/1.263, allocations: 1.38 MB / 1.233 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/1.263, allocations: 192.9 kB / 1.233 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009812/1.264, allocations: 0.6449 MB / 1.233 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.976e-05/1.264, allocations: 41.7 kB / 1.233 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003905/1.264, allocations: 424.2 kB / 1.234 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002637/1.265, allocations: 272.1 kB / 1.234 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002804/1.265, allocations: 162.5 kB / 1.234 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002141/1.265, allocations: 394.8 kB / 1.235 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007945/1.266, allocations: 321.8 kB / 1.235 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008864/1.267, allocations: 427 kB / 1.235 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001609/1.268, allocations: 0.7101 MB / 1.236 GB, free: 8.508 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/1.268, allocations: 0 / 1.236 GB, free: 8.508 MB / 0.9512 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002603/1.271, allocations: 0.9735 MB / 1.237 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/1.271, allocations: 4 kB / 1.237 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/1.271, allocations: 1.875 kB / 1.237 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006162/1.272, allocations: 84.86 kB / 1.237 GB, free: 7.438 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008539/1.273, allocations: 195.7 kB / 1.237 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002295/1.275, allocations: 1.63 MB / 1.239 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/1.276, allocations: 123.2 kB / 1.239 GB, free: 5.352 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-05/1.276, allocations: 39.97 kB / 1.239 GB, free: 5.312 MB / 0.9512 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.0005887/1.277, allocations: 274.6 kB / 1.239 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002046/1.277, allocations: 82.97 kB / 1.239 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003084/1.28, allocations: 1.213 MB / 1.241 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/1.28, allocations: 8 kB / 1.241 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/1.28, allocations: 0 / 1.241 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.991e-05/1.28, allocations: 7.984 kB / 1.241 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004265/1.284, allocations: 2.14 MB / 1.243 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/1.284, allocations: 3.75 kB / 1.243 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007822/1.285, allocations: 175.8 kB / 1.243 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004818/1.286, allocations: 72.78 kB / 1.243 GB, free: 1.27 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.23e-05/1.286, allocations: 23.98 kB / 1.243 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002175/1.288, allocations: 1.662 MB / 1.245 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/1.288, allocations: 4.062 kB / 1.245 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003031/1.291, allocations: 1.121 MB / 1.246 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005649/1.291, allocations: 275.9 kB / 1.246 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/1.292, allocations: 23.91 kB / 1.246 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008567/1.292, allocations: 97.3 kB / 1.246 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/1.293, allocations: 76.89 kB / 1.246 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.631e-05/1.293, allocations: 43.91 kB / 1.246 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007034/1.294, allocations: 467 kB / 1.247 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.9e-07/1.294, allocations: 8 kB / 1.247 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001082/1.295, allocations: 339.1 kB / 1.247 GB, free: 12.98 MB / 0.9669 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.002005/1.297, allocations: 0.5996 MB / 1.248 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003165/1.3, allocations: 1.164 MB / 1.249 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/1.3, allocations: 0 / 1.249 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001266/1.301, allocations: 0.5822 MB / 1.249 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/1.303, allocations: 305.1 kB / 1.25 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00404/1.307, allocations: 2.299 MB / 1.252 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007269/1.307, allocations: 1.053 MB / 1.253 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004315/1.308, allocations: 123.4 kB / 1.253 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of SimCode: time 9.12e-07/1.308, allocations: 0 / 1.253 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of Templates: time 0.0314/1.339, allocations: 19.72 MB / 1.272 GB, free: 3.305 MB / 0.9825 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,skyBri.skyBri Variables in the result:skyBri.skyBri,time