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.001705/0.001705, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.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.59/2.59, allocations: 437 MB / 0.7103 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 59.91 kB / 0.8692 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6137/0.6151, allocations: 151.6 MB / 1.017 GB, free: 2.543 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007357/0.6225, allocations: 5.007 MB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.18/0.8026, allocations: 150.7 MB / 1.169 GB, free: 6.184 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.8038, allocations: 19.88 kB / 1.169 GB, free: 6.164 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00089/0.8047, allocations: 190.2 kB / 1.17 GB, free: 5.977 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002659/0.8074, allocations: 0.5621 MB / 1.17 GB, free: 5.414 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003013/0.8105, allocations: 0.8914 MB / 1.171 GB, free: 4.531 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002314/0.8128, allocations: 1.46 MB / 1.172 GB, free: 3.066 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001405/0.8142, allocations: 0.5984 MB / 1.173 GB, free: 2.449 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.8152, allocations: 0.5061 MB / 1.173 GB, free: 1.941 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0012/0.8165, allocations: 0.5368 MB / 1.174 GB, free: 1.402 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003954/0.8169, allocations: 124 kB / 1.174 GB, free: 1.281 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.8184, allocations: 491.6 kB / 1.175 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004531/0.8189, allocations: 311 kB / 1.175 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001122/0.82, allocations: 0.5908 MB / 1.175 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003045/0.8231, allocations: 1.678 MB / 1.177 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.8231, allocations: 0 / 1.177 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.112e-06/0.8231, allocations: 0 / 1.177 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.272e-05/0.8231, allocations: 0 / 1.177 GB, free: 14.22 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004076/0.8272, allocations: 1.503 MB / 1.179 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.8273, allocations: 12.03 kB / 1.179 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/0.8287, allocations: 191.3 kB / 1.179 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/0.8303, allocations: 0.7624 MB / 1.18 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.573e-05/0.8304, allocations: 66 kB / 1.18 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/0.8306, allocations: 87.98 kB / 1.18 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002601/0.8332, allocations: 0.973 MB / 1.181 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/0.8332, allocations: 0 / 1.181 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000142/0.8334, allocations: 44 kB / 1.181 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.214e-05/0.8334, allocations: 23.98 kB / 1.181 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002833/0.8363, allocations: 1.159 MB / 1.182 GB, free: 9.262 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.006578/0.8429, allocations: 2.911 MB / 1.185 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003176/0.8461, allocations: 0.981 MB / 1.186 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008933/0.847, allocations: 326.7 kB / 1.186 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.8471, allocations: 36.67 kB / 1.186 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001393/0.8485, allocations: 0.5373 MB / 1.186 GB, free: 4.316 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=88): time 6.442e-06/0.8485, allocations: 4 kB / 1.186 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88): time 0.005167/0.8537, allocations: 1.302 MB / 1.188 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001749/0.8539, allocations: 192.9 kB / 1.188 GB, free: 2.75 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/0.8555, allocations: 0.6527 MB / 1.189 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001163/0.8557, allocations: 49.64 kB / 1.189 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000504/0.8562, allocations: 400.5 kB / 1.189 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003464/0.8565, allocations: 287.8 kB / 1.189 GB, free: 1.352 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004495/0.857, allocations: 178.5 kB / 1.189 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002284/0.8572, allocations: 386.8 kB / 1.19 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009374/0.8582, allocations: 297.8 kB / 1.19 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/0.8593, allocations: 383.1 kB / 1.19 GB, free: 108 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002039/0.8613, allocations: 0.6593 MB / 1.191 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.8614, allocations: 0 / 1.191 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00328/0.8647, allocations: 0.9189 MB / 1.192 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/0.8647, allocations: 4 kB / 1.192 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.8647, allocations: 4 kB / 1.192 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006212/0.8654, allocations: 84.83 kB / 1.192 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007417/0.8661, allocations: 175.8 kB / 1.192 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002107/0.8682, allocations: 1.638 MB / 1.194 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008933/0.8691, allocations: 105.2 kB / 1.194 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.592e-05/0.8692, allocations: 39.97 kB / 1.194 GB, free: 12.32 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: 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.0004662/0.8697, allocations: 275.9 kB / 1.194 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/0.8699, allocations: 94.88 kB / 1.194 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002705/0.8726, allocations: 1.195 MB / 1.196 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.8727, allocations: 12 kB / 1.196 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.8727, allocations: 0 / 1.196 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.8727, allocations: 3.984 kB / 1.196 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00352/0.8762, allocations: 2.094 MB / 1.198 GB, free: 8.559 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.8763, allocations: 4 kB / 1.198 GB, free: 8.555 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006658/0.8769, allocations: 167.7 kB / 1.198 GB, free: 8.391 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004567/0.8774, allocations: 72.78 kB / 1.198 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-05/0.8775, allocations: 31.92 kB / 1.198 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001911/0.8794, allocations: 1.659 MB / 1.199 GB, free: 6.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.8794, allocations: 0 / 1.199 GB, free: 6.48 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002248/0.8817, allocations: 1.093 MB / 1.201 GB, free: 5.367 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004095/0.8821, allocations: 283.7 kB / 1.201 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/0.8823, allocations: 23.98 kB / 1.201 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007707/0.883, allocations: 77.23 kB / 1.201 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.8832, allocations: 88.77 kB / 1.201 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-05/0.8833, allocations: 43.91 kB / 1.201 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006035/0.8839, allocations: 471 kB / 1.201 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8839, allocations: 0 / 1.201 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009496/0.8849, allocations: 355.2 kB / 1.202 GB, free: 4.039 MB / 0.9512 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.001442/0.8863, allocations: 0.6206 MB / 1.202 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002717/0.8891, allocations: 1.139 MB / 1.204 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.8891, allocations: 0 / 1.204 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.8901, allocations: 0.559 MB / 1.204 GB, free: 1.875 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.8915, allocations: 311 kB / 1.204 GB, free: 1.594 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003108/0.8946, allocations: 1.764 MB / 1.206 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006493/0.8953, allocations: 1.055 MB / 1.207 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0008767/0.8961, allocations: 271.1 kB / 1.207 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003018/0.8964, allocations: 119.4 kB / 1.208 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of SimCode: time 3.41e-07/0.8965, allocations: 0 / 1.208 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of Templates: time 0.0271/0.9236, allocations: 16.11 MB / 1.223 GB, free: 14.39 MB / 0.9825 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=480 -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/jenkins/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