Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.211/2.211, allocations: 390.3 MB / 402.8 MB, free: 6.676 MB / 314.7 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: 176.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.643/1.643, allocations: 221.3 MB / 0.7915 GB, free: 5.473 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009346/0.0009349, allocations: 95.75 kB / 0.9317 GB, free: 5.789 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.233e-05/4.245e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3587, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.512/5.871, allocations: 1.731 GB / 2.95 GB, free: 82.84 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/5.871, allocations: 95.94 kB / 2.95 GB, free: 82.75 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1317/6.003, allocations: 59.32 MB / 3.008 GB, free: 23.15 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.064e-06/6.003, allocations: 0 / 3.008 GB, free: 23.15 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001119/6.003, allocations: 24 kB / 3.008 GB, free: 23.12 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002553/6.005, allocations: 1.063 MB / 3.009 GB, free: 22.02 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/6.005, allocations: 8.031 kB / 3.009 GB, free: 22.01 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/6.006, allocations: 190.5 kB / 3.009 GB, free: 21.82 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/6.008, allocations: 0.6114 MB / 3.01 GB, free: 21.17 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.048e-05/6.008, allocations: 58 kB / 3.01 GB, free: 21.11 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/6.008, allocations: 83.92 kB / 3.01 GB, free: 21.03 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/6.009, allocations: 0.8328 MB / 3.011 GB, free: 20.16 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/6.01, allocations: 4 kB / 3.011 GB, free: 20.15 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.052e-05/6.01, allocations: 43.94 kB / 3.011 GB, free: 20.11 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/6.01, allocations: 20 kB / 3.011 GB, free: 20.09 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/6.011, allocations: 1.026 MB / 3.012 GB, free: 19.06 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004015/6.015, allocations: 2.418 MB / 3.014 GB, free: 16.57 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/6.016, allocations: 0.7779 MB / 3.015 GB, free: 15.77 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003697/6.017, allocations: 263.2 kB / 3.015 GB, free: 15.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.844e-05/6.017, allocations: 28.81 kB / 3.015 GB, free: 15.48 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005914/6.017, allocations: 409.4 kB / 3.016 GB, free: 15.06 MB / 1.167 GB Notification: Performance of pre-optimization done (n=73): time 3.767e-06/6.017, allocations: 3.938 kB / 3.016 GB, free: 15.05 MB / 1.167 GB Notification: Performance of matching and sorting (n=73): time 0.001602/6.019, allocations: 0.6836 MB / 3.017 GB, free: 14.36 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.413e-05/6.019, allocations: 252.1 kB / 3.017 GB, free: 14.06 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008624/6.02, allocations: 0.5776 MB / 3.017 GB, free: 13.48 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.41e-05/6.02, allocations: 41.7 kB / 3.017 GB, free: 13.43 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002655/6.02, allocations: 368.4 kB / 3.018 GB, free: 13.06 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/6.02, allocations: 236.5 kB / 3.018 GB, free: 12.83 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/6.021, allocations: 12 kB / 3.018 GB, free: 12.82 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001107/6.021, allocations: 374.8 kB / 3.018 GB, free: 12.44 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/6.021, allocations: 205.5 kB / 3.019 GB, free: 12.24 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003565/6.021, allocations: 310 kB / 3.019 GB, free: 11.91 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003587/6.022, allocations: 250 kB / 3.019 GB, free: 11.66 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/6.022, allocations: 0 / 3.019 GB, free: 11.66 MB / 1.167 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001408/6.023, allocations: 0.6991 MB / 3.02 GB, free: 10.95 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/6.023, allocations: 8.094 kB / 3.02 GB, free: 10.95 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/6.023, allocations: 0 / 3.02 GB, free: 10.95 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005789/6.024, allocations: 88.77 kB / 3.02 GB, free: 10.86 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005508/6.024, allocations: 135.8 kB / 3.02 GB, free: 10.72 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001856/6.026, allocations: 1.524 MB / 3.021 GB, free: 9.055 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006889/6.027, allocations: 75.34 kB / 3.022 GB, free: 8.98 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.271e-05/6.027, allocations: 27.98 kB / 3.022 GB, free: 8.953 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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.0002362/6.027, allocations: 148.8 kB / 3.022 GB, free: 8.801 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/6.027, allocations: 79.09 kB / 3.022 GB, free: 8.723 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00208/6.03, allocations: 0.9693 MB / 3.023 GB, free: 7.738 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/6.03, allocations: 8 kB / 3.023 GB, free: 7.73 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/6.03, allocations: 7.953 kB / 3.023 GB, free: 7.723 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/6.03, allocations: 11.92 kB / 3.023 GB, free: 7.711 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003095/6.033, allocations: 1.863 MB / 3.025 GB, free: 5.785 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/6.033, allocations: 4 kB / 3.025 GB, free: 5.781 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005458/6.033, allocations: 143.8 kB / 3.025 GB, free: 5.641 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004927/6.034, allocations: 84.78 kB / 3.025 GB, free: 5.555 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.836e-05/6.034, allocations: 23.98 kB / 3.025 GB, free: 5.531 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/6.035, allocations: 1.536 MB / 3.026 GB, free: 3.859 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/6.035, allocations: 64 / 3.026 GB, free: 3.859 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/6.037, allocations: 0.8766 MB / 3.027 GB, free: 2.961 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004672/6.037, allocations: 283.8 kB / 3.027 GB, free: 2.664 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/6.038, allocations: 16 kB / 3.027 GB, free: 2.648 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006035/6.038, allocations: 63.94 kB / 3.028 GB, free: 2.586 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/6.038, allocations: 72.64 kB / 3.028 GB, free: 2.516 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.617e-05/6.038, allocations: 27.98 kB / 3.028 GB, free: 2.488 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005937/6.039, allocations: 479.1 kB / 3.028 GB, free: 2.027 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/6.039, allocations: 0 / 3.028 GB, free: 2.027 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001257/6.04, allocations: 359.1 kB / 3.028 GB, free: 1.676 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002264/6.043, allocations: 1.024 MB / 3.029 GB, free: 0.7969 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001311/6.044, allocations: 0.6942 MB / 3.03 GB, free: 88 kB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/6.044, allocations: 0 / 3.03 GB, free: 88 kB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.68/6.724, allocations: 464.5 kB / 3.031 GB, free: 400 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/6.726, allocations: 236.5 kB / 3.031 GB, free: 400 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003907/6.729, allocations: 1.333 MB / 3.032 GB, free: 399.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006596/6.73, allocations: 1.024 MB / 3.033 GB, free: 399 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001029/6.731, allocations: 257.9 kB / 3.033 GB, free: 399 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002924/6.731, allocations: 97.72 kB / 3.033 GB, free: 399 MB / 1.167 GB Notification: Performance of SimCode: time 1.462e-06/6.731, allocations: 4.594 kB / 3.033 GB, free: 399 MB / 1.167 GB Notification: Performance of Templates: time 0.05032/6.782, allocations: 21.92 MB / 3.055 GB, free: 397.8 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches