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.001189/0.001189, allocations: 103 kB / 16.41 MB, free: 6.465 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.001218/0.001219, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.08 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.428/2.428, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 59.91 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8526/0.8541, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007047/0.8612, allocations: 4.952 MB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1562/1.017, allocations: 150.6 MB / 1.319 GB, free: 7.625 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009296/1.018, allocations: 19.88 kB / 1.319 GB, free: 7.605 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0008649/1.019, allocations: 198.2 kB / 1.319 GB, free: 7.41 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002292/1.022, allocations: 0.5588 MB / 1.32 GB, free: 6.852 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002248/1.024, allocations: 0.8575 MB / 1.321 GB, free: 6 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001894/1.026, allocations: 1.433 MB / 1.322 GB, free: 4.559 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/1.027, allocations: 0.5912 MB / 1.323 GB, free: 3.941 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009117/1.028, allocations: 0.51 MB / 1.323 GB, free: 3.43 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008503/1.029, allocations: 0.5173 MB / 1.324 GB, free: 2.91 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002992/1.029, allocations: 123.9 kB / 1.324 GB, free: 2.789 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/1.03, allocations: 479.6 kB / 1.324 GB, free: 2.32 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003673/1.03, allocations: 307 kB / 1.325 GB, free: 2.02 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0007896/1.031, allocations: 0.5752 MB / 1.325 GB, free: 1.441 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002561/1.034, allocations: 1.665 MB / 1.327 GB, free: 15.77 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/1.034, allocations: 0 / 1.327 GB, free: 15.77 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.104e-06/1.034, allocations: 4 kB / 1.327 GB, free: 15.77 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.156e-05/1.034, allocations: 0 / 1.327 GB, free: 15.77 MB / 1.061 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.003378/1.037, allocations: 1.464 MB / 1.328 GB, free: 14.25 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/1.037, allocations: 12.03 kB / 1.328 GB, free: 14.24 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/1.038, allocations: 187.4 kB / 1.328 GB, free: 14.06 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/1.04, allocations: 0.7741 MB / 1.329 GB, free: 13.24 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.486e-05/1.04, allocations: 62 kB / 1.329 GB, free: 13.18 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/1.04, allocations: 87.98 kB / 1.329 GB, free: 13.09 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/1.042, allocations: 0.9534 MB / 1.33 GB, free: 12.1 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/1.042, allocations: 0 / 1.33 GB, free: 12.1 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.3e-05/1.042, allocations: 36 kB / 1.33 GB, free: 12.07 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/1.042, allocations: 20 kB / 1.33 GB, free: 12.05 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/1.044, allocations: 1.139 MB / 1.331 GB, free: 10.91 MB / 1.061 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.00456/1.048, allocations: 2.731 MB / 1.334 GB, free: 8.059 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/1.05, allocations: 0.9123 MB / 1.335 GB, free: 7.129 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005713/1.051, allocations: 318.7 kB / 1.335 GB, free: 6.816 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.767e-05/1.051, allocations: 28.69 kB / 1.335 GB, free: 6.789 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009208/1.052, allocations: 0.5313 MB / 1.336 GB, free: 6.238 MB / 1.061 GB Notification: Performance of pre-optimization done (n=85): time 2.846e-06/1.052, allocations: 0 / 1.336 GB, free: 6.238 MB / 1.061 GB Notification: Performance of matching and sorting (n=85): time 0.003409/1.055, allocations: 1.259 MB / 1.337 GB, free: 4.949 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/1.055, allocations: 188.9 kB / 1.337 GB, free: 4.723 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/1.056, allocations: 0.641 MB / 1.338 GB, free: 4.07 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001089/1.056, allocations: 49.69 kB / 1.338 GB, free: 4.016 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003912/1.057, allocations: 400.4 kB / 1.338 GB, free: 3.617 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000271/1.057, allocations: 268.1 kB / 1.339 GB, free: 3.352 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003062/1.057, allocations: 178.5 kB / 1.339 GB, free: 3.172 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002052/1.058, allocations: 386.8 kB / 1.339 GB, free: 2.785 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006338/1.058, allocations: 277.8 kB / 1.339 GB, free: 2.512 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000714/1.059, allocations: 384 kB / 1.34 GB, free: 2.121 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/1.06, allocations: 0.6329 MB / 1.34 GB, free: 1.477 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/1.06, allocations: 0 / 1.34 GB, free: 1.477 MB / 1.061 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002153/1.062, allocations: 0.8878 MB / 1.341 GB, free: 0.5742 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/1.063, allocations: 11.94 kB / 1.341 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/1.063, allocations: 0 / 1.341 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006526/1.063, allocations: 84.78 kB / 1.341 GB, free: 488 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007016/1.064, allocations: 171.8 kB / 1.342 GB, free: 316 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/1.066, allocations: 1.639 MB / 1.343 GB, free: 14.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008785/1.067, allocations: 95.22 kB / 1.343 GB, free: 14.43 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.589e-05/1.067, allocations: 43.91 kB / 1.343 GB, free: 14.39 MB / 1.076 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.0005414/1.068, allocations: 276.5 kB / 1.344 GB, free: 14.11 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002539/1.068, allocations: 82.97 kB / 1.344 GB, free: 14.03 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002587/1.071, allocations: 1.144 MB / 1.345 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/1.071, allocations: 12 kB / 1.345 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.071, allocations: 0 / 1.345 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/1.071, allocations: 7.969 kB / 1.345 GB, free: 12.85 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003736/1.074, allocations: 2.021 MB / 1.347 GB, free: 10.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/1.075, allocations: 0 / 1.347 GB, free: 10.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006379/1.075, allocations: 151.8 kB / 1.347 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004713/1.076, allocations: 72.78 kB / 1.347 GB, free: 10.54 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.708e-05/1.076, allocations: 27.98 kB / 1.347 GB, free: 10.52 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002048/1.078, allocations: 1.658 MB / 1.349 GB, free: 8.715 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.078, allocations: 0 / 1.349 GB, free: 8.715 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/1.08, allocations: 1.06 MB / 1.35 GB, free: 7.633 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006166/1.081, allocations: 279.7 kB / 1.35 GB, free: 7.34 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002207/1.081, allocations: 20 kB / 1.35 GB, free: 7.32 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007874/1.082, allocations: 67.92 kB / 1.35 GB, free: 7.254 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/1.082, allocations: 76.89 kB / 1.35 GB, free: 7.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.467e-05/1.082, allocations: 43.97 kB / 1.35 GB, free: 7.137 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007078/1.083, allocations: 459 kB / 1.35 GB, free: 6.695 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/1.083, allocations: 0 / 1.35 GB, free: 6.695 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00113/1.084, allocations: 339.2 kB / 1.351 GB, free: 6.363 MB / 1.076 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.001572/1.086, allocations: 0.6003 MB / 1.351 GB, free: 5.922 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001911/1.087, allocations: 0.8782 MB / 1.352 GB, free: 5.031 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/1.087, allocations: 4 kB / 1.352 GB, free: 5.027 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/1.088, allocations: 0.5315 MB / 1.353 GB, free: 4.484 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/1.09, allocations: 318.2 kB / 1.353 GB, free: 4.195 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003517/1.093, allocations: 1.742 MB / 1.355 GB, free: 2.418 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007128/1.094, allocations: 1.036 MB / 1.356 GB, free: 1.355 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003741/1.095, allocations: 119.4 kB / 1.356 GB, free: 1.238 MB / 1.076 GB Notification: Performance of SimCode: time 7.21e-07/1.095, allocations: 0 / 1.356 GB, free: 1.238 MB / 1.076 GB Notification: Performance of Templates: time 0.02947/1.124, allocations: 19.08 MB / 1.375 GB, free: 14.18 MB / 1.107 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/jenkins1/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