Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_10_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_10_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.001586/0.001586, allocations: 103.3 kB / 16.27 MB, free: 5.961 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.001575/0.001576, allocations: 188.2 kB / 17.19 MB, free: 5.594 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.426/1.426, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.636/2.636, allocations: 437.1 MB / 0.7111 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 64.38 kB / 0.8699 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3366, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007505/0.3441, allocations: 5.185 MB / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.716/1.06, allocations: 150.7 MB / 1.17 GB, free: 228 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009596/1.061, allocations: 19.47 kB / 1.17 GB, free: 220 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006873/1.062, allocations: 197.4 kB / 1.17 GB, free: 92 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002206/1.064, allocations: 0.5626 MB / 1.171 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002261/1.066, allocations: 0.8548 MB / 1.172 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002315/1.069, allocations: 1.448 MB / 1.173 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/1.07, allocations: 0.6587 MB / 1.174 GB, free: 14.22 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/1.071, allocations: 0.5207 MB / 1.174 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008604/1.072, allocations: 0.5532 MB / 1.175 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002215/1.072, allocations: 127.2 kB / 1.175 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/1.073, allocations: 470.5 kB / 1.175 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000345/1.074, allocations: 321.2 kB / 1.176 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007218/1.074, allocations: 0.6179 MB / 1.176 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002531/1.077, allocations: 1.703 MB / 1.178 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 9.297e-06/1.077, allocations: 7.984 kB / 1.178 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.513e-06/1.077, allocations: 0 / 1.178 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.716e-05/1.077, allocations: 1.031 kB / 1.178 GB, free: 11.79 MB / 0.8887 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.00331/1.08, allocations: 1.505 MB / 1.179 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/1.08, allocations: 9.656 kB / 1.18 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001901/1.082, allocations: 304.9 kB / 1.18 GB, free: 10.47 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/1.084, allocations: 0.7673 MB / 1.181 GB, free: 9.836 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.841e-05/1.084, allocations: 73.88 kB / 1.181 GB, free: 9.801 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/1.084, allocations: 97.86 kB / 1.181 GB, free: 9.766 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00232/1.086, allocations: 1.063 MB / 1.182 GB, free: 9.109 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/1.086, allocations: 5.016 kB / 1.182 GB, free: 9.105 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/1.086, allocations: 46.59 kB / 1.182 GB, free: 9.07 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/1.087, allocations: 23.31 kB / 1.182 GB, free: 9.07 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002572/1.089, allocations: 1.268 MB / 1.183 GB, free: 8.477 MB / 0.8887 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.005525/1.095, allocations: 2.976 MB / 1.186 GB, free: 6.145 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002705/1.097, allocations: 1.032 MB / 1.187 GB, free: 5.574 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000801/1.098, allocations: 369 kB / 1.187 GB, free: 5.395 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.993e-05/1.098, allocations: 27.23 kB / 1.187 GB, free: 5.379 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001302/1.1, allocations: 0.5727 MB / 1.188 GB, free: 5.023 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=84): time 3.637e-06/1.1, allocations: 4 kB / 1.188 GB, free: 5.02 MB / 0.8887 GB Notification: Performance of matching and sorting (n=84): time 0.004235/1.104, allocations: 1.386 MB / 1.189 GB, free: 4.285 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/1.104, allocations: 195.5 kB / 1.189 GB, free: 4.062 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000985/1.105, allocations: 0.64 MB / 1.19 GB, free: 3.684 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001194/1.105, allocations: 42.61 kB / 1.19 GB, free: 3.641 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004069/1.106, allocations: 424.3 kB / 1.191 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002861/1.106, allocations: 273.2 kB / 1.191 GB, free: 3.035 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002787/1.106, allocations: 162.7 kB / 1.191 GB, free: 2.938 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002119/1.106, allocations: 397.3 kB / 1.191 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008213/1.107, allocations: 319.7 kB / 1.192 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009129/1.108, allocations: 421.5 kB / 1.192 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/1.11, allocations: 0.7184 MB / 1.193 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/1.11, allocations: 0 / 1.193 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002633/1.112, allocations: 0.9691 MB / 1.194 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/1.112, allocations: 5.75 kB / 1.194 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/1.112, allocations: 0 / 1.194 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000605/1.113, allocations: 85.95 kB / 1.194 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008151/1.114, allocations: 189.9 kB / 1.194 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/1.116, allocations: 1.628 MB / 1.196 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/1.117, allocations: 120.5 kB / 1.196 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-05/1.117, allocations: 39.88 kB / 1.196 GB, free: 15.54 MB / 0.9044 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.0005836/1.118, allocations: 273.2 kB / 1.196 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/1.118, allocations: 86.61 kB / 1.196 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003139/1.121, allocations: 1.203 MB / 1.197 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/1.121, allocations: 14.39 kB / 1.197 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.121, allocations: 3.984 kB / 1.197 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/1.121, allocations: 3.984 kB / 1.197 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004251/1.126, allocations: 2.137 MB / 1.199 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/1.126, allocations: 0 / 1.199 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007563/1.126, allocations: 180 kB / 1.199 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000445/1.127, allocations: 74.83 kB / 1.2 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.296e-05/1.127, allocations: 27.31 kB / 1.2 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002031/1.129, allocations: 1.662 MB / 1.201 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.129, allocations: 0 / 1.201 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002576/1.132, allocations: 1.115 MB / 1.202 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00046/1.132, allocations: 277.7 kB / 1.203 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/1.132, allocations: 21.42 kB / 1.203 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007958/1.133, allocations: 85.27 kB / 1.203 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/1.133, allocations: 69.42 kB / 1.203 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.747e-05/1.133, allocations: 45.06 kB / 1.203 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006032/1.134, allocations: 466.3 kB / 1.203 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.134, allocations: 0 / 1.203 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009898/1.135, allocations: 349.5 kB / 1.204 GB, free: 10.17 MB / 0.9044 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.001913/1.137, allocations: 0.6067 MB / 1.204 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003079/1.14, allocations: 1.172 MB / 1.205 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/1.14, allocations: 0 / 1.205 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001292/1.141, allocations: 0.5821 MB / 1.206 GB, free: 8.414 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/1.143, allocations: 305.5 kB / 1.206 GB, free: 8.141 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003649/1.146, allocations: 1.84 MB / 1.208 GB, free: 6.27 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007199/1.147, allocations: 1.047 MB / 1.209 GB, free: 5.191 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000431/1.148, allocations: 127.4 kB / 1.209 GB, free: 5.066 MB / 0.9044 GB Notification: Performance of SimCode: time 9.12e-07/1.148, allocations: 4 kB / 1.209 GB, free: 5.062 MB / 0.9044 GB Notification: Performance of Templates: time 0.0292/1.177, allocations: 19.72 MB / 1.228 GB, free: 1.395 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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