Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001141/0.001141, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001333/0.001333, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.284/2.284, allocations: 390.3 MB / 0.6653 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003583, allocations: 8 kB / 0.8145 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6287/0.6291, allocations: 142.3 MB / 0.9535 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004597/0.6337, allocations: 3.718 MB / 0.9571 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1506/0.7843, allocations: 127.6 MB / 1.082 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007448/0.7851, allocations: 11.94 kB / 1.082 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003529/0.7855, allocations: 71.34 kB / 1.082 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.787, allocations: 0.5084 MB / 1.082 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.7885, allocations: 0.6356 MB / 1.083 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001163/0.7897, allocations: 0.8378 MB / 1.084 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000668/0.7904, allocations: 491.3 kB / 1.084 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005201/0.7909, allocations: 358.5 kB / 1.085 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004135/0.7913, allocations: 354.2 kB / 1.085 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.697e-05/0.7914, allocations: 27.94 kB / 1.085 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007121/0.7921, allocations: 311.6 kB / 1.085 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001918/0.7923, allocations: 191.2 kB / 1.085 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.7925, allocations: 201.1 kB / 1.086 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.7936, allocations: 1.177 MB / 1.087 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.7936, allocations: 0 / 1.087 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.432e-06/0.7936, allocations: 3.938 kB / 1.087 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.7937, allocations: 4 kB / 1.087 GB, free: 7.379 MB / 0.8419 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.002321/0.796, allocations: 1.252 MB / 1.088 GB, free: 6.07 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.796, allocations: 8.031 kB / 1.088 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009052/0.7969, allocations: 198.5 kB / 1.088 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.798, allocations: 0.7272 MB / 1.089 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.508e-05/0.7981, allocations: 70 kB / 1.089 GB, free: 5.027 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.7982, allocations: 76 kB / 1.089 GB, free: 4.953 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.7997, allocations: 0.9379 MB / 1.09 GB, free: 3.977 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.7997, allocations: 0 / 1.09 GB, free: 3.977 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.159e-05/0.7998, allocations: 43.95 kB / 1.09 GB, free: 3.934 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.7998, allocations: 23.94 kB / 1.09 GB, free: 3.91 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.8016, allocations: 1.136 MB / 1.091 GB, free: 2.773 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003936/0.8055, allocations: 2.574 MB / 1.094 GB, free: 136 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.8071, allocations: 0.915 MB / 1.095 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.179e-05/0.8072, allocations: 28.7 kB / 1.095 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008812/0.8081, allocations: 0.5197 MB / 1.095 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=85): time 2.405e-06/0.8081, allocations: 0 / 1.095 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of matching and sorting (n=85): time 0.003193/0.8113, allocations: 1.254 MB / 1.096 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.8115, allocations: 196.9 kB / 1.096 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008239/0.8123, allocations: 0.6294 MB / 1.097 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.2e-05/0.8124, allocations: 45.7 kB / 1.097 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003446/0.8127, allocations: 404.4 kB / 1.097 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/0.813, allocations: 272 kB / 1.098 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.813, allocations: 16 kB / 1.098 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.8132, allocations: 394.7 kB / 1.098 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005836/0.8138, allocations: 253.9 kB / 1.098 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006344/0.8144, allocations: 375.4 kB / 1.099 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005761/0.815, allocations: 306.9 kB / 1.099 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.706e-06/0.815, allocations: 0 / 1.099 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002143/0.8172, allocations: 0.8331 MB / 1.1 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.8172, allocations: 8.125 kB / 1.1 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.8172, allocations: 4 kB / 1.1 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006685/0.8179, allocations: 76.77 kB / 1.1 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007989/0.8187, allocations: 175.7 kB / 1.1 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/0.8207, allocations: 1.543 MB / 1.102 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009575/0.8217, allocations: 115.2 kB / 1.102 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.366e-05/0.8218, allocations: 27.98 kB / 1.102 GB, free: 7.465 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.decAng.tNext,decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004613/0.8222, allocations: 281.4 kB / 1.102 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.8224, allocations: 82.97 kB / 1.102 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002453/0.8249, allocations: 1.152 MB / 1.103 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.8249, allocations: 8 kB / 1.103 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.8249, allocations: 0 / 1.103 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/0.8249, allocations: 7.984 kB / 1.103 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003318/0.8282, allocations: 2.04 MB / 1.105 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.8283, allocations: 4 kB / 1.105 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000617/0.8289, allocations: 151.8 kB / 1.105 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005138/0.8294, allocations: 84.77 kB / 1.105 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.004e-05/0.8295, allocations: 27.98 kB / 1.105 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001824/0.8313, allocations: 1.575 MB / 1.107 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.8313, allocations: 0 / 1.107 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/0.8333, allocations: 1.039 MB / 1.108 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004368/0.8338, allocations: 307.5 kB / 1.108 GB, free: 472 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.8339, allocations: 24 kB / 1.108 GB, free: 448 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007155/0.8346, allocations: 83.92 kB / 1.108 GB, free: 364 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.8348, allocations: 76.89 kB / 1.109 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.149e-05/0.8349, allocations: 35.97 kB / 1.109 GB, free: 248 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005839/0.8355, allocations: 459 kB / 1.109 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8355, allocations: 0 / 1.109 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000902/0.8364, allocations: 323.2 kB / 1.109 GB, free: 15.48 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001302/0.8377, allocations: 0.5884 MB / 1.11 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001635/0.8393, allocations: 0.8432 MB / 1.111 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.8394, allocations: 4 kB / 1.111 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009094/0.8403, allocations: 0.5392 MB / 1.111 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.8414, allocations: 244.3 kB / 1.111 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004131/0.8455, allocations: 2.24 MB / 1.114 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006707/0.8462, allocations: 1.067 MB / 1.115 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0008872/0.8471, allocations: 274.7 kB / 1.115 GB, free: 9.793 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/0.8474, allocations: 111.4 kB / 1.115 GB, free: 9.684 MB / 0.8731 GB Notification: Performance of SimCode: time 9.62e-07/0.8474, allocations: 0 / 1.115 GB, free: 9.684 MB / 0.8731 GB Notification: Performance of Templates: time 0.0239/0.8713, allocations: 14.05 MB / 1.129 GB, free: 11.79 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches