Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001609/0.00161, allocations: 107.4 kB / 16.27 MB, free: 6.414 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.001552/0.001552, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.397/1.397, allocations: 222.9 MB / 240.9 MB, free: 15.21 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.532/2.532, allocations: 437.1 MB / 0.7111 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 68.14 kB / 0.8699 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3215, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007581/0.3291, allocations: 5.016 MB / 1.023 GB, free: 5.594 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7098/1.039, allocations: 150.7 MB / 1.17 GB, free: 0.5469 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/1.04, allocations: 20.81 kB / 1.17 GB, free: 0.5391 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006413/1.041, allocations: 194.8 kB / 1.17 GB, free: 424 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002011/1.043, allocations: 0.5612 MB / 1.171 GB, free: 96 kB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002262/1.045, allocations: 0.8869 MB / 1.172 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001941/1.047, allocations: 1.46 MB / 1.173 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009782/1.048, allocations: 0.5961 MB / 1.174 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008932/1.049, allocations: 0.5126 MB / 1.174 GB, free: 14.31 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007992/1.05, allocations: 0.5394 MB / 1.175 GB, free: 14.03 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002177/1.05, allocations: 122.2 kB / 1.175 GB, free: 14.03 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/1.051, allocations: 485.2 kB / 1.175 GB, free: 13.92 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003389/1.051, allocations: 314 kB / 1.176 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006194/1.052, allocations: 0.5923 MB / 1.176 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002187/1.054, allocations: 1.678 MB / 1.178 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/1.054, allocations: 9.078 kB / 1.178 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.563e-06/1.054, allocations: 0 / 1.178 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.785e-05/1.054, allocations: 0 / 1.178 GB, free: 12.15 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002972/1.057, allocations: 1.496 MB / 1.179 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/1.057, allocations: 10.22 kB / 1.179 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009681/1.058, allocations: 194.3 kB / 1.179 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/1.059, allocations: 0.768 MB / 1.18 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.84e-05/1.06, allocations: 67 kB / 1.18 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/1.06, allocations: 85.66 kB / 1.18 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/1.061, allocations: 0.9768 MB / 1.181 GB, free: 9.559 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/1.062, allocations: 3.938 kB / 1.181 GB, free: 9.555 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.271e-05/1.062, allocations: 37.44 kB / 1.181 GB, free: 9.527 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/1.062, allocations: 23.75 kB / 1.181 GB, free: 9.527 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/1.064, allocations: 1.161 MB / 1.183 GB, free: 8.977 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.004654/1.068, allocations: 2.905 MB / 1.185 GB, free: 6.668 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/1.07, allocations: 0.9749 MB / 1.186 GB, free: 6.125 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005795/1.071, allocations: 330.2 kB / 1.187 GB, free: 5.961 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.831e-05/1.071, allocations: 36.47 kB / 1.187 GB, free: 5.941 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/1.072, allocations: 0.5321 MB / 1.187 GB, free: 5.602 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=88): time 6.482e-06/1.072, allocations: 1.5 kB / 1.187 GB, free: 5.602 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88): time 0.003468/1.076, allocations: 1.309 MB / 1.188 GB, free: 4.895 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/1.076, allocations: 199 kB / 1.189 GB, free: 4.668 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008263/1.077, allocations: 0.6552 MB / 1.189 GB, free: 4.285 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.2e-05/1.077, allocations: 42.52 kB / 1.189 GB, free: 4.242 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003575/1.077, allocations: 403.5 kB / 1.19 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/1.077, allocations: 286.6 kB / 1.19 GB, free: 3.641 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000277/1.078, allocations: 182.8 kB / 1.19 GB, free: 3.527 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002135/1.078, allocations: 389.4 kB / 1.191 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005668/1.078, allocations: 290.1 kB / 1.191 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006489/1.079, allocations: 392.2 kB / 1.191 GB, free: 2.797 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/1.08, allocations: 0.6499 MB / 1.192 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.08, allocations: 0 / 1.192 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002007/1.082, allocations: 0.9221 MB / 1.193 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/1.082, allocations: 4.812 kB / 1.193 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.082, allocations: 2.438 kB / 1.193 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000585/1.083, allocations: 83.67 kB / 1.193 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006968/1.084, allocations: 182.2 kB / 1.193 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002236/1.086, allocations: 1.626 MB / 1.195 GB, free: 292 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009219/1.087, allocations: 106.4 kB / 1.195 GB, free: 220 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.67e-05/1.087, allocations: 40.62 kB / 1.195 GB, free: 204 kB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * 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.0005522/1.087, allocations: 279.2 kB / 1.195 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001905/1.088, allocations: 92.11 kB / 1.195 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002608/1.09, allocations: 1.197 MB / 1.196 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/1.09, allocations: 14.7 kB / 1.196 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/1.09, allocations: 0 / 1.196 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/1.09, allocations: 6.047 kB / 1.196 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003554/1.094, allocations: 2.087 MB / 1.198 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/1.094, allocations: 0 / 1.198 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006259/1.094, allocations: 164.3 kB / 1.198 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004391/1.095, allocations: 70.17 kB / 1.199 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.401e-05/1.095, allocations: 40.66 kB / 1.199 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002058/1.097, allocations: 1.661 MB / 1.2 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/1.097, allocations: 2.469 kB / 1.2 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002297/1.099, allocations: 1.091 MB / 1.201 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004816/1.1, allocations: 286.2 kB / 1.202 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/1.1, allocations: 26.94 kB / 1.202 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007134/1.101, allocations: 69.83 kB / 1.202 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/1.101, allocations: 85.25 kB / 1.202 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.71e-05/1.101, allocations: 41.03 kB / 1.202 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006961/1.102, allocations: 476.7 kB / 1.202 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/1.102, allocations: 0 / 1.202 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001313/1.103, allocations: 354.6 kB / 1.203 GB, free: 10.84 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (106): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.002265/1.105, allocations: 0.6035 MB / 1.203 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003101/1.108, allocations: 1.144 MB / 1.204 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.108, allocations: 2.406 kB / 1.204 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001137/1.11, allocations: 0.5671 MB / 1.205 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/1.111, allocations: 316.8 kB / 1.205 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00353/1.115, allocations: 1.815 MB / 1.207 GB, free: 7.504 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007209/1.116, allocations: 1.048 MB / 1.208 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000351/1.116, allocations: 127.4 kB / 1.208 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of SimCode: time 1.032e-06/1.116, allocations: 0 / 1.208 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of Templates: time 0.03137/1.147, allocations: 19.52 MB / 1.227 GB, free: 2.832 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches