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.001058/0.001058, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.568/2.568, allocations: 437 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 75.88 kB / 0.8692 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6166/0.6178, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006922/0.6248, allocations: 4.954 MB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1575/0.7823, allocations: 150.6 MB / 1.169 GB, free: 6.293 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000763/0.7831, allocations: 15.94 kB / 1.169 GB, free: 6.277 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005599/0.7837, allocations: 194.1 kB / 1.169 GB, free: 6.086 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001588/0.7853, allocations: 0.5592 MB / 1.17 GB, free: 5.527 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001773/0.7871, allocations: 0.8449 MB / 1.171 GB, free: 4.688 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001347/0.7885, allocations: 1.425 MB / 1.172 GB, free: 3.258 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008232/0.7893, allocations: 0.5962 MB / 1.173 GB, free: 2.645 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005632/0.7899, allocations: 0.4905 MB / 1.173 GB, free: 2.152 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005658/0.7904, allocations: 0.5251 MB / 1.174 GB, free: 1.625 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001553/0.7906, allocations: 116 kB / 1.174 GB, free: 1.512 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008399/0.7915, allocations: 471.6 kB / 1.174 GB, free: 1.051 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.00028/0.7917, allocations: 303 kB / 1.175 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004615/0.7922, allocations: 0.5674 MB / 1.175 GB, free: 188 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00159/0.7938, allocations: 1.62 MB / 1.177 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.7938, allocations: 3.938 kB / 1.177 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7938, allocations: 0 / 1.177 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.456e-05/0.7939, allocations: 0 / 1.177 GB, free: 14.55 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.002427/0.7963, allocations: 1.464 MB / 1.178 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.7963, allocations: 12.03 kB / 1.178 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008912/0.7972, allocations: 187.3 kB / 1.178 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009998/0.7982, allocations: 0.7624 MB / 1.179 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.065e-05/0.7983, allocations: 62 kB / 1.179 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.7984, allocations: 87.94 kB / 1.179 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/0.8, allocations: 0.9418 MB / 1.18 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.8, allocations: 3.938 kB / 1.18 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.694e-05/0.8001, allocations: 43.98 kB / 1.18 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.72e-05/0.8002, allocations: 23.98 kB / 1.18 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/0.8019, allocations: 1.128 MB / 1.181 GB, free: 9.707 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.00398/0.8059, allocations: 2.759 MB / 1.184 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/0.8075, allocations: 0.9102 MB / 1.185 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005538/0.808, allocations: 314.7 kB / 1.185 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-05/0.8081, allocations: 36.67 kB / 1.185 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008589/0.809, allocations: 0.512 MB / 1.186 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=85): time 2.705e-06/0.809, allocations: 4 kB / 1.186 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=85): time 0.003321/0.8123, allocations: 1.259 MB / 1.187 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.5e-05/0.8124, allocations: 192.9 kB / 1.187 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007933/0.8133, allocations: 0.6448 MB / 1.188 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.159e-05/0.8133, allocations: 45.7 kB / 1.188 GB, free: 2.797 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003052/0.8137, allocations: 404.4 kB / 1.188 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/0.8139, allocations: 268.1 kB / 1.188 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002518/0.8141, allocations: 182.4 kB / 1.189 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.8143, allocations: 386.8 kB / 1.189 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005314/0.8149, allocations: 277.8 kB / 1.189 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006495/0.8155, allocations: 380 kB / 1.19 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.8166, allocations: 0.6368 MB / 1.19 GB, free: 256 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.8167, allocations: 0 / 1.19 GB, free: 256 kB / 0.9356 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002004/0.8187, allocations: 0.8801 MB / 1.191 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.8187, allocations: 11.94 kB / 1.191 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.8187, allocations: 0 / 1.191 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000608/0.8193, allocations: 84.89 kB / 1.191 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007046/0.82, allocations: 183.6 kB / 1.191 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/0.8222, allocations: 1.634 MB / 1.193 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007625/0.823, allocations: 96.72 kB / 1.193 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.488e-05/0.8231, allocations: 39.97 kB / 1.193 GB, free: 13.16 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.0004516/0.8235, allocations: 280.4 kB / 1.193 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/0.8237, allocations: 86.97 kB / 1.193 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002546/0.8263, allocations: 1.14 MB / 1.195 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.8263, allocations: 12 kB / 1.195 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.8263, allocations: 0 / 1.195 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.8263, allocations: 3.984 kB / 1.195 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003497/0.8298, allocations: 2.024 MB / 1.197 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.8298, allocations: 0 / 1.197 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006017/0.8304, allocations: 159.8 kB / 1.197 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000456/0.8309, allocations: 64.8 kB / 1.197 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.996e-05/0.831, allocations: 35.97 kB / 1.197 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/0.833, allocations: 1.67 MB / 1.198 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.833, allocations: 8.094 kB / 1.198 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/0.8351, allocations: 1.043 MB / 1.199 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004688/0.8356, allocations: 283.7 kB / 1.2 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/0.8358, allocations: 23.98 kB / 1.2 GB, free: 6.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007201/0.8365, allocations: 63.94 kB / 1.2 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.8367, allocations: 84.88 kB / 1.2 GB, free: 5.922 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.426e-05/0.8368, allocations: 31.98 kB / 1.2 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006407/0.8374, allocations: 463 kB / 1.2 GB, free: 5.445 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8374, allocations: 0 / 1.2 GB, free: 5.445 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009313/0.8383, allocations: 339.2 kB / 1.201 GB, free: 5.113 MB / 0.9512 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.001439/0.8398, allocations: 0.6087 MB / 1.201 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002816/0.8426, allocations: 1.093 MB / 1.202 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.8426, allocations: 0 / 1.202 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009991/0.8436, allocations: 0.5434 MB / 1.203 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.845, allocations: 308.5 kB / 1.203 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003135/0.8481, allocations: 1.708 MB / 1.205 GB, free: 1.004 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006921/0.8488, allocations: 1.036 MB / 1.206 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000917/0.8497, allocations: 267 kB / 1.206 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002819/0.85, allocations: 115.3 kB / 1.206 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of SimCode: time 3.71e-07/0.85, allocations: 0 / 1.206 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of Templates: time 0.02636/0.8764, allocations: 15.61 MB / 1.221 GB, free: 136 kB / 0.9669 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