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.007522/0.007522, allocations: 100.3 kB / 15.73 MB, free: 6.484 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.001695/0.001695, allocations: 189 kB / 16.68 MB, free: 6.367 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.574/2.574, allocations: 437 MB / 0.7105 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 67.91 kB / 1.019 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.295, allocations: 151.6 MB / 1.167 GB, free: 6.988 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007032/0.3021, allocations: 4.948 MB / 1.171 GB, free: 2.012 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7707/1.073, allocations: 150.6 MB / 1.319 GB, free: 10.34 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000774/1.074, allocations: 15.62 kB / 1.319 GB, free: 10.34 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006627/1.074, allocations: 199.9 kB / 1.319 GB, free: 10.23 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001939/1.076, allocations: 0.5682 MB / 1.319 GB, free: 9.977 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002118/1.078, allocations: 0.846 MB / 1.32 GB, free: 9.82 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001745/1.08, allocations: 1.443 MB / 1.322 GB, free: 9.547 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008469/1.081, allocations: 0.5874 MB / 1.322 GB, free: 9.398 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008062/1.082, allocations: 0.5041 MB / 1.323 GB, free: 9.289 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006692/1.083, allocations: 0.5185 MB / 1.323 GB, free: 9.156 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001824/1.083, allocations: 118.4 kB / 1.323 GB, free: 9.156 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/1.084, allocations: 489.3 kB / 1.324 GB, free: 9.125 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003197/1.084, allocations: 303.8 kB / 1.324 GB, free: 9.023 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006006/1.085, allocations: 0.5769 MB / 1.325 GB, free: 8.641 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002476/1.087, allocations: 1.684 MB / 1.326 GB, free: 7.922 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.087, allocations: 0 / 1.326 GB, free: 7.922 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.743e-06/1.087, allocations: 0 / 1.326 GB, free: 7.922 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.22e-05/1.087, allocations: 0 / 1.326 GB, free: 7.922 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.003158/1.09, allocations: 1.497 MB / 1.328 GB, free: 6.902 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/1.091, allocations: 10.25 kB / 1.328 GB, free: 6.902 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/1.092, allocations: 200.3 kB / 1.328 GB, free: 6.828 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001523/1.093, allocations: 0.7799 MB / 1.329 GB, free: 6.32 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.854e-05/1.093, allocations: 65.91 kB / 1.329 GB, free: 6.289 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/1.093, allocations: 80.25 kB / 1.329 GB, free: 6.266 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/1.095, allocations: 0.9465 MB / 1.33 GB, free: 5.836 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/1.095, allocations: 0 / 1.33 GB, free: 5.836 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.85e-05/1.095, allocations: 39.52 kB / 1.33 GB, free: 5.809 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.313e-05/1.095, allocations: 20.62 kB / 1.33 GB, free: 5.809 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/1.097, allocations: 1.132 MB / 1.331 GB, free: 5.543 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.004573/1.102, allocations: 2.738 MB / 1.334 GB, free: 3.879 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/1.103, allocations: 0.9194 MB / 1.334 GB, free: 3.461 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005609/1.104, allocations: 316.6 kB / 1.335 GB, free: 3.344 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.786e-05/1.104, allocations: 36.94 kB / 1.335 GB, free: 3.332 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000921/1.105, allocations: 0.5176 MB / 1.335 GB, free: 3.117 MB / 1.014 GB Notification: Performance of pre-optimization done (n=85): time 2.735e-06/1.105, allocations: 0 / 1.335 GB, free: 3.117 MB / 1.014 GB Notification: Performance of matching and sorting (n=85): time 0.003506/1.108, allocations: 1.262 MB / 1.336 GB, free: 2.59 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/1.108, allocations: 191.8 kB / 1.337 GB, free: 2.371 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009921/1.109, allocations: 0.6345 MB / 1.337 GB, free: 2.09 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.835e-05/1.11, allocations: 43.58 kB / 1.337 GB, free: 2.047 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003611/1.11, allocations: 411.7 kB / 1.338 GB, free: 1.723 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002598/1.11, allocations: 288.9 kB / 1.338 GB, free: 1.496 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002884/1.11, allocations: 177.5 kB / 1.338 GB, free: 1.414 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001748/1.111, allocations: 395.1 kB / 1.339 GB, free: 1.062 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005654/1.111, allocations: 275.3 kB / 1.339 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006775/1.112, allocations: 391.5 kB / 1.339 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/1.113, allocations: 0.6301 MB / 1.34 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/1.113, allocations: 5.594 kB / 1.34 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002289/1.115, allocations: 0.887 MB / 1.341 GB, free: 140 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/1.115, allocations: 7.094 kB / 1.341 GB, free: 140 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.116, allocations: 1.156 kB / 1.341 GB, free: 140 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005646/1.116, allocations: 91.66 kB / 1.341 GB, free: 112 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006871/1.117, allocations: 177.2 kB / 1.341 GB, free: 92 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/1.119, allocations: 1.624 MB / 1.343 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009053/1.12, allocations: 97.97 kB / 1.343 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-05/1.12, allocations: 38.8 kB / 1.343 GB, free: 14.51 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.000548/1.12, allocations: 277.9 kB / 1.343 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/1.121, allocations: 93.95 kB / 1.343 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002684/1.123, allocations: 1.132 MB / 1.344 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.932e-05/1.123, allocations: 13.72 kB / 1.344 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/1.123, allocations: 6.469 kB / 1.344 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/1.123, allocations: 4.172 kB / 1.344 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003994/1.127, allocations: 2.021 MB / 1.346 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/1.127, allocations: 0 / 1.346 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006201/1.128, allocations: 167.6 kB / 1.346 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004335/1.128, allocations: 73.92 kB / 1.346 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.908e-05/1.129, allocations: 30.56 kB / 1.346 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002006/1.131, allocations: 1.653 MB / 1.348 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.131, allocations: 0.7812 kB / 1.348 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002268/1.133, allocations: 1.059 MB / 1.349 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005512/1.133, allocations: 282.4 kB / 1.349 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/1.134, allocations: 23.66 kB / 1.349 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006741/1.134, allocations: 64.41 kB / 1.349 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/1.134, allocations: 76.84 kB / 1.349 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.791e-05/1.134, allocations: 38.95 kB / 1.349 GB, free: 10.49 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006676/1.135, allocations: 459.6 kB / 1.35 GB, free: 10.29 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.264e-06/1.135, allocations: 5.5 kB / 1.35 GB, free: 10.29 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001108/1.136, allocations: 345 kB / 1.35 GB, free: 10.19 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.001477/1.138, allocations: 0.607 MB / 1.351 GB, free: 9.93 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002023/1.14, allocations: 0.8727 MB / 1.352 GB, free: 9.57 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.14, allocations: 0.9375 kB / 1.352 GB, free: 9.57 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/1.141, allocations: 0.5415 MB / 1.352 GB, free: 9.32 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/1.142, allocations: 299.5 kB / 1.353 GB, free: 9.223 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003111/1.145, allocations: 1.75 MB / 1.354 GB, free: 8.305 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005688/1.146, allocations: 1.032 MB / 1.355 GB, free: 7.582 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0008412/1.147, allocations: 268.3 kB / 1.355 GB, free: 7.504 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002761/1.147, allocations: 111.7 kB / 1.356 GB, free: 7.484 MB / 1.029 GB Notification: Performance of SimCode: time 7.61e-07/1.147, allocations: 4 kB / 1.356 GB, free: 7.48 MB / 1.029 GB Notification: Performance of Templates: time 0.02588/1.173, allocations: 15.77 MB / 1.371 GB, free: 15.82 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