Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001803/0.001803, allocations: 111.6 kB / 15.99 MB, free: 6.348 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.002035/0.002035, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.45/1.45, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.735/2.735, allocations: 469.8 MB / 0.7427 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00219/0.002191, allocations: 66.61 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.355, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.008206/0.3632, allocations: 4.953 MB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.7981/1.161, allocations: 148.4 MB / 1.214 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008936/1.162, allocations: 14.91 kB / 1.214 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006094/1.163, allocations: 155.1 kB / 1.214 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001997/1.165, allocations: 498.9 kB / 1.215 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002019/1.167, allocations: 0.7584 MB / 1.215 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002029/1.169, allocations: 1.431 MB / 1.217 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/1.17, allocations: 0.5859 MB / 1.217 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009918/1.171, allocations: 0.5046 MB / 1.218 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007995/1.172, allocations: 0.5208 MB / 1.218 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001813/1.172, allocations: 122.7 kB / 1.218 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/1.173, allocations: 464.3 kB / 1.219 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003408/1.174, allocations: 302.4 kB / 1.219 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000638/1.174, allocations: 0.5792 MB / 1.22 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001788/1.176, allocations: 1.241 MB / 1.221 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/1.176, allocations: 1.5 kB / 1.221 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.804e-06/1.176, allocations: 4 kB / 1.221 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.858e-05/1.176, allocations: 0 / 1.221 GB, free: 6.613 MB / 0.9356 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.003086/1.179, allocations: 1.47 MB / 1.222 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/1.179, allocations: 9.562 kB / 1.222 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009549/1.18, allocations: 190.6 kB / 1.222 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/1.181, allocations: 0.7516 MB / 1.223 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.44e-05/1.181, allocations: 67.7 kB / 1.223 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/1.182, allocations: 85.16 kB / 1.223 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/1.183, allocations: 0.9392 MB / 1.224 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/1.183, allocations: 0 / 1.224 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.798e-05/1.183, allocations: 37.56 kB / 1.224 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/1.183, allocations: 20.81 kB / 1.224 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001811/1.185, allocations: 1.134 MB / 1.225 GB, free: 3.516 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.004727/1.19, allocations: 2.752 MB / 1.228 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/1.192, allocations: 0.9168 MB / 1.229 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006151/1.192, allocations: 319.5 kB / 1.229 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-05/1.193, allocations: 36.67 kB / 1.229 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/1.194, allocations: 0.5094 MB / 1.23 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=85): time 2.785e-06/1.194, allocations: 0 / 1.23 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of matching and sorting (n=85): time 0.003594/1.197, allocations: 1.259 MB / 1.231 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001415/1.197, allocations: 188.9 kB / 1.231 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009953/1.198, allocations: 0.6448 MB / 1.232 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001086/1.198, allocations: 45.7 kB / 1.232 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004286/1.199, allocations: 404.2 kB / 1.232 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002976/1.199, allocations: 268.1 kB / 1.233 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002989/1.199, allocations: 182.4 kB / 1.233 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002499/1.2, allocations: 386.7 kB / 1.233 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005806/1.2, allocations: 281.8 kB / 1.233 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006924/1.201, allocations: 383.9 kB / 1.234 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/1.202, allocations: 0.6407 MB / 1.234 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/1.202, allocations: 0 / 1.234 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002201/1.204, allocations: 0.884 MB / 1.235 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/1.205, allocations: 12 kB / 1.235 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/1.205, allocations: 2.438 kB / 1.235 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006262/1.205, allocations: 84.7 kB / 1.235 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007401/1.206, allocations: 179.7 kB / 1.236 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002412/1.208, allocations: 1.626 MB / 1.237 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009369/1.209, allocations: 95.31 kB / 1.237 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-05/1.209, allocations: 44.03 kB / 1.237 GB, free: 7.211 MB / 0.9512 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.0005604/1.21, allocations: 279.8 kB / 1.238 GB, free: 6.93 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/1.21, allocations: 90.88 kB / 1.238 GB, free: 6.84 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002715/1.213, allocations: 1.13 MB / 1.239 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/1.213, allocations: 11.94 kB / 1.239 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.213, allocations: 4 kB / 1.239 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.646e-05/1.213, allocations: 11.98 kB / 1.239 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003779/1.217, allocations: 2.027 MB / 1.241 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/1.217, allocations: 0 / 1.241 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006486/1.217, allocations: 159.8 kB / 1.241 GB, free: 3.426 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004762/1.218, allocations: 72.78 kB / 1.241 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-05/1.218, allocations: 27.97 kB / 1.241 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002174/1.22, allocations: 1.654 MB / 1.243 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/1.22, allocations: 3.938 kB / 1.243 GB, free: 1.523 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002379/1.223, allocations: 1.047 MB / 1.244 GB, free: 468 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004959/1.223, allocations: 275.7 kB / 1.244 GB, free: 172 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/1.223, allocations: 27.98 kB / 1.244 GB, free: 144 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007237/1.224, allocations: 69.75 kB / 1.244 GB, free: 76 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002033/1.224, allocations: 84.59 kB / 1.244 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.041e-05/1.224, allocations: 39.98 kB / 1.244 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006614/1.225, allocations: 467 kB / 1.245 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/1.225, allocations: 0 / 1.245 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001029/1.226, allocations: 327.3 kB / 1.245 GB, free: 15.18 MB / 0.9669 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.001983/1.228, allocations: 0.6158 MB / 1.245 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002806/1.231, allocations: 1.082 MB / 1.246 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.231, allocations: 7.938 kB / 1.247 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/1.232, allocations: 0.5431 MB / 1.247 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/1.233, allocations: 316 kB / 1.247 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00376/1.237, allocations: 2.186 MB / 1.249 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007541/1.238, allocations: 1.032 MB / 1.25 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003935/1.238, allocations: 127.4 kB / 1.251 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of SimCode: time 6.11e-07/1.238, allocations: 0 / 1.251 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of Templates: time 0.02966/1.268, allocations: 18.96 MB / 1.269 GB, free: 6.484 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches