Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.373/2.373, allocations: 390.3 MB / 402.8 MB, free: 6.66 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.001209/0.001209, allocations: 172.9 kB / 496.1 MB, free: 12.88 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.718/1.718, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.0008887/0.0008887, allocations: 92 kB / 0.9317 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.033e-05/3.053e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.365, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.522/4.887, allocations: 1.731 GB / 2.95 GB, free: 82.83 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/4.887, allocations: 83.95 kB / 2.95 GB, free: 82.75 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1313/5.019, allocations: 63.44 MB / 3.012 GB, free: 19.03 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.853e-06/5.019, allocations: 0 / 3.012 GB, free: 19.03 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.99e-05/5.019, allocations: 20 kB / 3.012 GB, free: 19.01 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001558/5.02, allocations: 1.059 MB / 3.013 GB, free: 17.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.955e-05/5.02, allocations: 12.03 kB / 3.013 GB, free: 17.89 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007967/5.021, allocations: 182.6 kB / 3.013 GB, free: 17.71 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008492/5.022, allocations: 0.6076 MB / 3.014 GB, free: 17.06 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.357e-05/5.022, allocations: 58 kB / 3.014 GB, free: 17 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.789e-05/5.022, allocations: 76 kB / 3.014 GB, free: 16.93 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/5.023, allocations: 0.821 MB / 3.015 GB, free: 16.07 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/5.023, allocations: 3.938 kB / 3.015 GB, free: 16.07 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.015e-05/5.023, allocations: 35.95 kB / 3.015 GB, free: 16.03 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/5.023, allocations: 20 kB / 3.015 GB, free: 16.01 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/5.025, allocations: 1.019 MB / 3.016 GB, free: 14.99 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003098/5.028, allocations: 2.43 MB / 3.018 GB, free: 12.49 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009192/5.029, allocations: 0.7702 MB / 3.019 GB, free: 11.69 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003237/5.029, allocations: 258.5 kB / 3.019 GB, free: 11.43 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.69e-05/5.029, allocations: 29.62 kB / 3.019 GB, free: 11.41 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000506/5.03, allocations: 405.7 kB / 3.02 GB, free: 10.99 MB / 1.167 GB Notification: Performance of pre-optimization done (n=70): time 2.144e-06/5.03, allocations: 4 kB / 3.02 GB, free: 10.99 MB / 1.167 GB Notification: Performance of matching and sorting (n=70): time 0.001361/5.031, allocations: 0.6707 MB / 3.02 GB, free: 10.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/5.031, allocations: 239.9 kB / 3.021 GB, free: 10.02 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000573/5.032, allocations: 0.5815 MB / 3.021 GB, free: 9.43 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.975e-05/5.032, allocations: 37.7 kB / 3.021 GB, free: 9.387 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/5.032, allocations: 372.3 kB / 3.022 GB, free: 9.016 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/5.032, allocations: 228.7 kB / 3.022 GB, free: 8.789 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/5.032, allocations: 8 kB / 3.022 GB, free: 8.781 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.561e-05/5.032, allocations: 378.8 kB / 3.022 GB, free: 8.402 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/5.032, allocations: 197.5 kB / 3.022 GB, free: 8.211 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003293/5.033, allocations: 305.1 kB / 3.023 GB, free: 7.883 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003226/5.033, allocations: 242 kB / 3.023 GB, free: 7.645 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/5.033, allocations: 0 / 3.023 GB, free: 7.645 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001253/5.034, allocations: 0.6759 MB / 3.023 GB, free: 6.957 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/5.034, allocations: 12.08 kB / 3.023 GB, free: 6.945 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/5.034, allocations: 3.938 kB / 3.023 GB, free: 6.941 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000543/5.035, allocations: 80.84 kB / 3.024 GB, free: 6.859 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000508/5.035, allocations: 131.8 kB / 3.024 GB, free: 6.73 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/5.037, allocations: 1.537 MB / 3.025 GB, free: 5.051 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005012/5.037, allocations: 87.41 kB / 3.025 GB, free: 4.965 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.79e-05/5.037, allocations: 27.98 kB / 3.025 GB, free: 4.938 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (72): * Single equations (assignments): 71 * 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.0001277/5.038, allocations: 141.9 kB / 3.025 GB, free: 4.793 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.391e-05/5.038, allocations: 75.06 kB / 3.026 GB, free: 4.719 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001726/5.039, allocations: 0.9379 MB / 3.026 GB, free: 3.766 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/5.039, allocations: 11.94 kB / 3.026 GB, free: 3.754 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/5.039, allocations: 0 / 3.026 GB, free: 3.754 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/5.039, allocations: 7.984 kB / 3.026 GB, free: 3.746 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002388/5.042, allocations: 1.847 MB / 3.028 GB, free: 1.836 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/5.042, allocations: 4 kB / 3.028 GB, free: 1.832 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005169/5.042, allocations: 139.8 kB / 3.028 GB, free: 1.695 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004654/5.043, allocations: 84.78 kB / 3.028 GB, free: 1.609 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.341e-05/5.043, allocations: 15.98 kB / 3.028 GB, free: 1.594 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5723/5.615, allocations: 1.552 MB / 3.03 GB, free: 400.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/5.615, allocations: 0 / 3.03 GB, free: 400.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/5.618, allocations: 0.8502 MB / 3.031 GB, free: 400.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005765/5.618, allocations: 286.9 kB / 3.031 GB, free: 400.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/5.618, allocations: 18.89 kB / 3.031 GB, free: 400.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006016/5.619, allocations: 68.31 kB / 3.031 GB, free: 400.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/5.619, allocations: 58.14 kB / 3.031 GB, free: 400.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.179e-05/5.619, allocations: 28.27 kB / 3.031 GB, free: 400.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007511/5.62, allocations: 474.7 kB / 3.032 GB, free: 400.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/5.62, allocations: 0 / 3.032 GB, free: 400.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001262/5.621, allocations: 351.4 kB / 3.032 GB, free: 400.1 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 (81): * Single equations (assignments): 78 * 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.002103/5.624, allocations: 1.039 MB / 3.033 GB, free: 399.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001276/5.625, allocations: 0.6644 MB / 3.034 GB, free: 399.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/5.625, allocations: 1 kB / 3.034 GB, free: 399.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007464/5.626, allocations: 462.3 kB / 3.034 GB, free: 399.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/5.627, allocations: 235.7 kB / 3.034 GB, free: 399.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003488/5.63, allocations: 1.31 MB / 3.036 GB, free: 399.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006417/5.631, allocations: 1.014 MB / 3.037 GB, free: 398.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008727/5.632, allocations: 260.5 kB / 3.037 GB, free: 398.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002425/5.632, allocations: 94.53 kB / 3.037 GB, free: 398.6 MB / 1.167 GB Notification: Performance of SimCode: time 9.02e-07/5.632, allocations: 0 / 3.037 GB, free: 398.6 MB / 1.167 GB Notification: Performance of Templates: time 0.043/5.675, allocations: 21.82 MB / 3.058 GB, free: 397.3 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches