Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006043/0.006043, allocations: 99.98 kB / 15.73 MB, free: 6.039 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.001402/0.001402, allocations: 202 kB / 16.68 MB, free: 5.965 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.661/2.661, allocations: 437 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 63.89 kB / 1.019 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3086, allocations: 151.6 MB / 1.167 GB, free: 6.828 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006785/0.3155, allocations: 4.949 MB / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.8587/1.174, allocations: 150.6 MB / 1.319 GB, free: 10.25 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006915/1.175, allocations: 19.03 kB / 1.319 GB, free: 10.25 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005461/1.176, allocations: 187.2 kB / 1.319 GB, free: 10.14 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001779/1.177, allocations: 0.558 MB / 1.319 GB, free: 9.895 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002013/1.179, allocations: 0.8465 MB / 1.32 GB, free: 9.734 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00166/1.181, allocations: 1.444 MB / 1.322 GB, free: 9.461 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/1.182, allocations: 0.5846 MB / 1.322 GB, free: 9.312 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000936/1.183, allocations: 0.5031 MB / 1.323 GB, free: 9.199 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008356/1.184, allocations: 0.5148 MB / 1.323 GB, free: 9.07 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001831/1.184, allocations: 122.6 kB / 1.323 GB, free: 9.066 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001192/1.185, allocations: 486.3 kB / 1.324 GB, free: 9.035 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003359/1.186, allocations: 300.3 kB / 1.324 GB, free: 8.957 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006476/1.186, allocations: 0.5833 MB / 1.325 GB, free: 8.566 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002401/1.189, allocations: 1.667 MB / 1.326 GB, free: 7.863 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.189, allocations: 1.312 kB / 1.326 GB, free: 7.863 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.984e-06/1.189, allocations: 0 / 1.326 GB, free: 7.863 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.93e-05/1.189, allocations: 0 / 1.326 GB, free: 7.863 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002886/1.192, allocations: 1.506 MB / 1.328 GB, free: 6.836 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/1.192, allocations: 9.031 kB / 1.328 GB, free: 6.836 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009556/1.193, allocations: 195.8 kB / 1.328 GB, free: 6.766 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/1.194, allocations: 0.78 MB / 1.329 GB, free: 6.258 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.572e-05/1.194, allocations: 66.7 kB / 1.329 GB, free: 6.227 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/1.194, allocations: 83.59 kB / 1.329 GB, free: 6.199 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/1.196, allocations: 0.9538 MB / 1.33 GB, free: 5.766 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/1.196, allocations: 0 / 1.33 GB, free: 5.766 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.096e-05/1.196, allocations: 37.28 kB / 1.33 GB, free: 5.738 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/1.196, allocations: 20.56 kB / 1.33 GB, free: 5.738 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/1.198, allocations: 1.125 MB / 1.331 GB, free: 5.48 MB / 1.014 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.004079/1.202, allocations: 2.741 MB / 1.333 GB, free: 3.812 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/1.204, allocations: 0.9174 MB / 1.334 GB, free: 3.398 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005833/1.204, allocations: 316 kB / 1.335 GB, free: 3.281 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.371e-05/1.204, allocations: 33.91 kB / 1.335 GB, free: 3.27 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009479/1.205, allocations: 0.5223 MB / 1.335 GB, free: 3.055 MB / 1.014 GB Notification: Performance of pre-optimization done (n=85): time 2.344e-06/1.205, allocations: 0 / 1.335 GB, free: 3.055 MB / 1.014 GB Notification: Performance of matching and sorting (n=85): time 0.003523/1.209, allocations: 1.262 MB / 1.336 GB, free: 2.527 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/1.209, allocations: 192 kB / 1.337 GB, free: 2.309 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008966/1.21, allocations: 0.6342 MB / 1.337 GB, free: 2.027 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.931e-05/1.21, allocations: 46.95 kB / 1.337 GB, free: 1.98 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000322/1.21, allocations: 407.9 kB / 1.338 GB, free: 1.66 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/1.211, allocations: 294 kB / 1.338 GB, free: 1.43 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002647/1.211, allocations: 174.1 kB / 1.338 GB, free: 1.352 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001591/1.211, allocations: 402.6 kB / 1.339 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005557/1.212, allocations: 274.5 kB / 1.339 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006525/1.212, allocations: 380.2 kB / 1.339 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/1.213, allocations: 0.6335 MB / 1.34 GB, free: 444 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/1.213, allocations: 0 / 1.34 GB, free: 444 kB / 1.014 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00205/1.215, allocations: 0.892 MB / 1.341 GB, free: 76 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/1.215, allocations: 6.062 kB / 1.341 GB, free: 76 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/1.215, allocations: 5.188 kB / 1.341 GB, free: 72 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005727/1.216, allocations: 87.92 kB / 1.341 GB, free: 48 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006875/1.217, allocations: 170.6 kB / 1.341 GB, free: 32 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/1.219, allocations: 1.631 MB / 1.342 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008296/1.22, allocations: 100.8 kB / 1.343 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.84e-05/1.22, allocations: 44.67 kB / 1.343 GB, free: 14.44 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 (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,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 (101): * Single equations (assignments): 100 * 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.0004708/1.22, allocations: 275.4 kB / 1.343 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/1.221, allocations: 89 kB / 1.343 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002554/1.223, allocations: 1.144 MB / 1.344 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/1.223, allocations: 14.44 kB / 1.344 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/1.223, allocations: 3.938 kB / 1.344 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/1.223, allocations: 4.828 kB / 1.344 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003406/1.227, allocations: 2.019 MB / 1.346 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/1.227, allocations: 4 kB / 1.346 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006415/1.227, allocations: 156.1 kB / 1.346 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004398/1.228, allocations: 72.62 kB / 1.346 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.906e-05/1.228, allocations: 26.89 kB / 1.346 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001916/1.23, allocations: 1.665 MB / 1.348 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.23, allocations: 0 / 1.348 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002246/1.232, allocations: 1.055 MB / 1.349 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004287/1.232, allocations: 282.5 kB / 1.349 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/1.233, allocations: 20.09 kB / 1.349 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007389/1.233, allocations: 70.11 kB / 1.349 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/1.233, allocations: 73.81 kB / 1.349 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.634e-05/1.234, allocations: 40.91 kB / 1.349 GB, free: 10.42 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006864/1.234, allocations: 463.4 kB / 1.35 GB, free: 10.22 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/1.234, allocations: 0 / 1.35 GB, free: 10.22 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00111/1.235, allocations: 336.7 kB / 1.35 GB, free: 10.13 MB / 1.029 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 (100): * Single equations (assignments): 93 * 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.001469/1.237, allocations: 0.6193 MB / 1.351 GB, free: 9.855 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001932/1.239, allocations: 0.8761 MB / 1.352 GB, free: 9.492 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.239, allocations: 1.219 kB / 1.352 GB, free: 9.492 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001071/1.24, allocations: 0.5326 MB / 1.352 GB, free: 9.25 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/1.241, allocations: 311.2 kB / 1.352 GB, free: 9.145 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003146/1.244, allocations: 1.734 MB / 1.354 GB, free: 8.238 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007183/1.245, allocations: 1.034 MB / 1.355 GB, free: 7.516 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0008611/1.246, allocations: 268.1 kB / 1.355 GB, free: 7.438 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002847/1.246, allocations: 111.7 kB / 1.356 GB, free: 7.418 MB / 1.029 GB Notification: Performance of SimCode: time 3.5e-07/1.246, allocations: 0 / 1.356 GB, free: 7.418 MB / 1.029 GB Notification: Performance of Templates: time 0.02656/1.273, allocations: 15.78 MB / 1.371 GB, free: 15.71 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches