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.001438/0.001438, allocations: 110.3 kB / 16.41 MB, free: 6.504 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.001369/0.001369, allocations: 185.2 kB / 17.34 MB, free: 5.738 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.516/1.516, allocations: 222.9 MB / 241 MB, free: 15.15 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.633/2.633, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 67.89 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8001/0.802, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007281/0.8093, allocations: 4.953 MB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1857/0.995, allocations: 150.6 MB / 1.319 GB, free: 7.605 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009202/0.996, allocations: 15.94 kB / 1.319 GB, free: 7.59 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006982/0.9967, allocations: 190.2 kB / 1.319 GB, free: 7.402 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001935/0.9987, allocations: 0.5625 MB / 1.32 GB, free: 6.84 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002107/1.001, allocations: 0.8535 MB / 1.321 GB, free: 5.992 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001698/1.003, allocations: 1.444 MB / 1.322 GB, free: 4.539 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009487/1.004, allocations: 0.5844 MB / 1.323 GB, free: 3.93 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000646/1.004, allocations: 0.51 MB / 1.323 GB, free: 3.418 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006755/1.005, allocations: 0.5289 MB / 1.324 GB, free: 2.887 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001717/1.005, allocations: 116 kB / 1.324 GB, free: 2.773 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009249/1.006, allocations: 483.6 kB / 1.324 GB, free: 2.301 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003034/1.006, allocations: 303 kB / 1.325 GB, free: 2.004 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00058/1.007, allocations: 0.583 MB / 1.325 GB, free: 1.418 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002194/1.009, allocations: 1.673 MB / 1.327 GB, free: 15.74 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.009, allocations: 0 / 1.327 GB, free: 15.74 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.492e-06/1.009, allocations: 4 kB / 1.327 GB, free: 15.74 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.847e-05/1.009, allocations: 0 / 1.327 GB, free: 15.74 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.00289/1.012, allocations: 1.493 MB / 1.328 GB, free: 14.19 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/1.012, allocations: 8.031 kB / 1.328 GB, free: 14.18 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009454/1.013, allocations: 200 kB / 1.329 GB, free: 13.99 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/1.014, allocations: 0.7825 MB / 1.329 GB, free: 13.16 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.885e-05/1.014, allocations: 66 kB / 1.329 GB, free: 13.1 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/1.015, allocations: 83.94 kB / 1.329 GB, free: 13.02 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/1.016, allocations: 0.9535 MB / 1.33 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/1.016, allocations: 0 / 1.33 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.096e-05/1.016, allocations: 36 kB / 1.33 GB, free: 11.99 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/1.016, allocations: 20 kB / 1.33 GB, free: 11.97 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/1.018, allocations: 1.136 MB / 1.332 GB, free: 10.83 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.004421/1.023, allocations: 2.738 MB / 1.334 GB, free: 7.98 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/1.025, allocations: 0.9082 MB / 1.335 GB, free: 7.055 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006348/1.025, allocations: 314.7 kB / 1.335 GB, free: 6.746 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.595e-05/1.025, allocations: 40.61 kB / 1.335 GB, free: 6.707 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009618/1.026, allocations: 0.5206 MB / 1.336 GB, free: 6.168 MB / 1.061 GB Notification: Performance of pre-optimization done (n=85): time 2.745e-06/1.026, allocations: 0 / 1.336 GB, free: 6.168 MB / 1.061 GB Notification: Performance of matching and sorting (n=85): time 0.003538/1.03, allocations: 1.259 MB / 1.337 GB, free: 4.879 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/1.03, allocations: 192.9 kB / 1.337 GB, free: 4.648 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009397/1.031, allocations: 0.641 MB / 1.338 GB, free: 3.996 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.355e-05/1.031, allocations: 41.7 kB / 1.338 GB, free: 3.949 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003936/1.031, allocations: 409.1 kB / 1.338 GB, free: 3.543 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002636/1.032, allocations: 289.6 kB / 1.339 GB, free: 3.258 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002816/1.032, allocations: 178.5 kB / 1.339 GB, free: 3.078 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002156/1.032, allocations: 386.8 kB / 1.339 GB, free: 2.691 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005833/1.033, allocations: 277.8 kB / 1.34 GB, free: 2.418 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006962/1.034, allocations: 380 kB / 1.34 GB, free: 2.031 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/1.035, allocations: 0.6406 MB / 1.34 GB, free: 1.379 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.035, allocations: 0 / 1.34 GB, free: 1.379 MB / 1.061 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002233/1.037, allocations: 0.8843 MB / 1.341 GB, free: 492 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/1.037, allocations: 16 kB / 1.341 GB, free: 476 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/1.037, allocations: 4 kB / 1.341 GB, free: 472 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000606/1.038, allocations: 84.77 kB / 1.341 GB, free: 384 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007098/1.038, allocations: 171.8 kB / 1.342 GB, free: 212 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002533/1.041, allocations: 1.641 MB / 1.343 GB, free: 14.42 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008985/1.042, allocations: 95.47 kB / 1.343 GB, free: 14.33 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.403e-05/1.042, allocations: 39.97 kB / 1.343 GB, free: 14.29 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.000535/1.043, allocations: 279.7 kB / 1.344 GB, free: 14.01 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/1.043, allocations: 87.44 kB / 1.344 GB, free: 13.92 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002786/1.046, allocations: 1.14 MB / 1.345 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/1.046, allocations: 8 kB / 1.345 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/1.046, allocations: 7.938 kB / 1.345 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/1.046, allocations: 7.969 kB / 1.345 GB, free: 12.74 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003806/1.049, allocations: 2.013 MB / 1.347 GB, free: 10.67 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/1.049, allocations: 0 / 1.347 GB, free: 10.67 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006496/1.05, allocations: 163.7 kB / 1.347 GB, free: 10.51 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004487/1.051, allocations: 72.78 kB / 1.347 GB, free: 10.43 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.546e-05/1.051, allocations: 23.98 kB / 1.347 GB, free: 10.41 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002183/1.053, allocations: 1.666 MB / 1.349 GB, free: 8.602 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.053, allocations: 0 / 1.349 GB, free: 8.602 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002348/1.055, allocations: 1.061 MB / 1.35 GB, free: 7.52 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004781/1.056, allocations: 280.2 kB / 1.35 GB, free: 7.227 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/1.056, allocations: 20 kB / 1.35 GB, free: 7.207 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006965/1.057, allocations: 67.92 kB / 1.35 GB, free: 7.141 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/1.057, allocations: 76.89 kB / 1.35 GB, free: 7.066 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.311e-05/1.057, allocations: 35.98 kB / 1.35 GB, free: 7.031 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000671/1.058, allocations: 471 kB / 1.351 GB, free: 6.578 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.7e-07/1.058, allocations: 0 / 1.351 GB, free: 6.578 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009378/1.058, allocations: 335.1 kB / 1.351 GB, free: 6.25 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.002017/1.06, allocations: 0.6304 MB / 1.352 GB, free: 5.781 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001948/1.062, allocations: 0.8704 MB / 1.352 GB, free: 4.898 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.062, allocations: 0 / 1.352 GB, free: 4.898 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001115/1.064, allocations: 0.5431 MB / 1.353 GB, free: 4.344 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/1.065, allocations: 304.5 kB / 1.353 GB, free: 4.062 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003476/1.068, allocations: 1.722 MB / 1.355 GB, free: 2.309 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008076/1.069, allocations: 1.032 MB / 1.356 GB, free: 1.25 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008793/1.07, allocations: 266.9 kB / 1.356 GB, free: 0.9844 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003221/1.071, allocations: 115.4 kB / 1.356 GB, free: 0.8711 MB / 1.076 GB Notification: Performance of SimCode: time 7.22e-07/1.071, allocations: 3.938 kB / 1.356 GB, free: 0.8672 MB / 1.076 GB Notification: Performance of Templates: time 0.03073/1.101, allocations: 15.82 MB / 1.372 GB, free: 1.18 MB / 1.092 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 -s cvode -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