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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001042/0.001042, allocations: 92.16 kB / 16.02 MB, free: 80 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.001476/0.001476, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.747/1.747, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.684/2.684, allocations: 437.8 MB / 0.7128 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005017/0.0005018, allocations: 12 kB / 0.8735 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.785/0.7856, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005809/0.7914, allocations: 4.601 MB / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1633/0.9547, allocations: 146.8 MB / 1.172 GB, free: 7.902 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.9558, allocations: 15.94 kB / 1.172 GB, free: 7.887 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008203/0.9566, allocations: 146.8 kB / 1.172 GB, free: 7.742 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002125/0.9588, allocations: 493.5 kB / 1.172 GB, free: 7.262 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002383/0.9612, allocations: 0.7647 MB / 1.173 GB, free: 6.504 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001892/0.9631, allocations: 1.374 MB / 1.174 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.9642, allocations: 0.5669 MB / 1.175 GB, free: 4.539 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000818/0.965, allocations: 390.2 kB / 1.175 GB, free: 4.156 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008117/0.9658, allocations: 417.8 kB / 1.176 GB, free: 3.746 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002293/0.9661, allocations: 31.98 kB / 1.176 GB, free: 3.715 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.9672, allocations: 395.6 kB / 1.176 GB, free: 3.328 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003265/0.9675, allocations: 199 kB / 1.176 GB, free: 3.133 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006766/0.9682, allocations: 498.7 kB / 1.177 GB, free: 2.637 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00168/0.9699, allocations: 1.235 MB / 1.178 GB, free: 1.398 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.9699, allocations: 4 kB / 1.178 GB, free: 1.395 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.234e-06/0.9699, allocations: 0 / 1.178 GB, free: 1.395 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.486e-05/0.97, allocations: 0 / 1.178 GB, free: 1.395 MB / 0.92 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.002922/0.9729, allocations: 1.281 MB / 1.179 GB, free: 56 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.973, allocations: 12.03 kB / 1.179 GB, free: 44 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.9741, allocations: 203.3 kB / 1.179 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.9755, allocations: 0.7585 MB / 1.18 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.659e-05/0.9756, allocations: 66 kB / 1.18 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.9757, allocations: 88 kB / 1.18 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/0.9778, allocations: 0.9846 MB / 1.181 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.9778, allocations: 0 / 1.181 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.9779, allocations: 39.94 kB / 1.181 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/0.9779, allocations: 24 kB / 1.181 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001984/0.9799, allocations: 1.167 MB / 1.182 GB, free: 12.64 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.005098/0.985, allocations: 2.941 MB / 1.185 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002208/0.9873, allocations: 0.9966 MB / 1.186 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006147/0.9879, allocations: 330.7 kB / 1.187 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.236e-05/0.988, allocations: 28.69 kB / 1.187 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001022/0.989, allocations: 0.5379 MB / 1.187 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=88): time 3.066e-06/0.9891, allocations: 0 / 1.187 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88): time 0.003437/0.9925, allocations: 1.325 MB / 1.188 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.9926, allocations: 192.9 kB / 1.189 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.9937, allocations: 0.6489 MB / 1.189 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.693e-05/0.9938, allocations: 45.7 kB / 1.189 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000363/0.9941, allocations: 404.4 kB / 1.19 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002692/0.9944, allocations: 287.9 kB / 1.19 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.9945, allocations: 69.69 kB / 1.19 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.9947, allocations: 390.7 kB / 1.19 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006068/0.9954, allocations: 301.8 kB / 1.191 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006862/0.9961, allocations: 395 kB / 1.191 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.9973, allocations: 0.6555 MB / 1.192 GB, free: 2.844 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.9973, allocations: 3.938 kB / 1.192 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002181/0.9995, allocations: 0.9268 MB / 1.193 GB, free: 1.906 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.9996, allocations: 4 kB / 1.193 GB, free: 1.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.9996, allocations: 0 / 1.193 GB, free: 1.902 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006176/1, allocations: 88.83 kB / 1.193 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007351/1.001, allocations: 179.6 kB / 1.193 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/1.003, allocations: 1.528 MB / 1.194 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009465/1.004, allocations: 122.3 kB / 1.194 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/1.004, allocations: 35.97 kB / 1.194 GB, free: 15.82 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.0005425/1.005, allocations: 284.3 kB / 1.195 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/1.005, allocations: 86.97 kB / 1.195 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002774/1.008, allocations: 1.203 MB / 1.196 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/1.008, allocations: 15.88 kB / 1.196 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/1.008, allocations: 0 / 1.196 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/1.008, allocations: 7.984 kB / 1.196 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00365/1.011, allocations: 2.113 MB / 1.198 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/1.011, allocations: 0 / 1.198 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006547/1.012, allocations: 167.8 kB / 1.198 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005336/1.013, allocations: 92.7 kB / 1.198 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-05/1.013, allocations: 23.98 kB / 1.198 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/1.015, allocations: 1.555 MB / 1.2 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.015, allocations: 4.031 kB / 1.2 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002273/1.017, allocations: 1.09 MB / 1.201 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006595/1.018, allocations: 311.4 kB / 1.201 GB, free: 8.621 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002109/1.018, allocations: 16 kB / 1.201 GB, free: 8.605 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008545/1.019, allocations: 93.45 kB / 1.201 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/1.019, allocations: 80.88 kB / 1.201 GB, free: 8.438 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.07e-05/1.019, allocations: 43.97 kB / 1.201 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007733/1.02, allocations: 471 kB / 1.202 GB, free: 7.938 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/1.02, allocations: 0 / 1.202 GB, free: 7.938 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001242/1.021, allocations: 355.1 kB / 1.202 GB, free: 7.59 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.001675/1.023, allocations: 0.6227 MB / 1.203 GB, free: 7.141 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001912/1.025, allocations: 0.9054 MB / 1.204 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/1.025, allocations: 8.172 kB / 1.204 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/1.026, allocations: 0.5627 MB / 1.204 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/1.027, allocations: 281.8 kB / 1.205 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003587/1.031, allocations: 2.264 MB / 1.207 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006422/1.031, allocations: 1.052 MB / 1.208 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000358/1.032, allocations: 127.3 kB / 1.208 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of SimCode: time 7.41e-07/1.032, allocations: 0 / 1.208 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of Templates: time 0.0287/1.06, allocations: 19.4 MB / 1.227 GB, free: 14.53 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/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