Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.233/2.233, allocations: 390.5 MB / 398 MB, free: 10.93 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.001065/0.001065, allocations: 191.7 kB / 491.2 MB, free: 1.551 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.689/1.689, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.001163/0.001164, allocations: 91.89 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.215e-05/2.218e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3594, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.405/5.764, allocations: 1.732 GB / 2.944 GB, free: 107 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003862/5.765, allocations: 91.14 kB / 2.944 GB, free: 107 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1342/5.899, allocations: 59.3 MB / 3.002 GB, free: 53.01 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.693e-06/5.899, allocations: 0 / 3.002 GB, free: 53.01 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001017/5.899, allocations: 24 kB / 3.002 GB, free: 52.99 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002493/5.902, allocations: 1.102 MB / 3.003 GB, free: 51.84 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/5.902, allocations: 8.031 kB / 3.003 GB, free: 51.83 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/5.903, allocations: 186.5 kB / 3.003 GB, free: 51.64 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/5.904, allocations: 0.6192 MB / 3.004 GB, free: 50.98 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.525e-05/5.904, allocations: 24 kB / 3.004 GB, free: 50.96 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/5.904, allocations: 48 kB / 3.004 GB, free: 50.91 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001411/5.906, allocations: 1.011 MB / 3.005 GB, free: 49.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/5.907, allocations: 0.7505 MB / 3.006 GB, free: 49.11 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/5.907, allocations: 3.953 kB / 3.006 GB, free: 49.11 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.672e-05/5.907, allocations: 0 / 3.006 GB, free: 49.11 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/5.907, allocations: 20 kB / 3.006 GB, free: 49.09 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003636/5.911, allocations: 2.404 MB / 3.008 GB, free: 46.63 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/5.912, allocations: 0.7931 MB / 3.009 GB, free: 45.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000314/5.912, allocations: 251.2 kB / 3.009 GB, free: 45.55 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.739e-05/5.912, allocations: 32.8 kB / 3.009 GB, free: 45.52 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000516/5.913, allocations: 411.7 kB / 3.009 GB, free: 45.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 2.465e-06/5.913, allocations: 0 / 3.009 GB, free: 45.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.001496/5.915, allocations: 0.6758 MB / 3.01 GB, free: 44.41 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/5.915, allocations: 244.1 kB / 3.01 GB, free: 44.12 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005351/5.915, allocations: 0.4984 MB / 3.011 GB, free: 43.62 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.975e-05/5.915, allocations: 25.7 kB / 3.011 GB, free: 43.59 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/5.915, allocations: 380.2 kB / 3.011 GB, free: 43.21 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/5.916, allocations: 248.3 kB / 3.011 GB, free: 42.96 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/5.916, allocations: 0 / 3.011 GB, free: 42.96 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.546e-05/5.916, allocations: 374.8 kB / 3.012 GB, free: 42.59 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/5.916, allocations: 201.5 kB / 3.012 GB, free: 42.39 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000333/5.916, allocations: 303.5 kB / 3.012 GB, free: 42.06 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004042/5.917, allocations: 244.5 kB / 3.012 GB, free: 41.82 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/5.917, allocations: 4 kB / 3.012 GB, free: 41.82 MB / 1.151 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001281/5.918, allocations: 0.6797 MB / 3.013 GB, free: 41.13 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/5.918, allocations: 5.562 kB / 3.013 GB, free: 41.12 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/5.918, allocations: 8.062 kB / 3.013 GB, free: 41.12 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005528/5.919, allocations: 76.78 kB / 3.013 GB, free: 41.04 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005535/5.919, allocations: 151.8 kB / 3.013 GB, free: 40.89 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/5.921, allocations: 1.453 MB / 3.015 GB, free: 39.31 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005505/5.921, allocations: 67.55 kB / 3.015 GB, free: 39.25 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.213e-05/5.921, allocations: 27.98 kB / 3.015 GB, free: 39.22 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * 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.0001558/5.921, allocations: 121.7 kB / 3.015 GB, free: 39.09 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/5.922, allocations: 75.25 kB / 3.015 GB, free: 39.02 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001872/5.923, allocations: 0.9696 MB / 3.016 GB, free: 38.04 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/5.924, allocations: 12 kB / 3.016 GB, free: 38.02 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/5.924, allocations: 3.938 kB / 3.016 GB, free: 38.02 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/5.924, allocations: 7.938 kB / 3.016 GB, free: 38.01 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/5.926, allocations: 1.762 MB / 3.018 GB, free: 36.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/5.926, allocations: 0 / 3.018 GB, free: 36.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005699/5.927, allocations: 159.8 kB / 3.018 GB, free: 36.05 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004615/5.927, allocations: 80.78 kB / 3.018 GB, free: 35.96 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.574e-05/5.927, allocations: 15.98 kB / 3.018 GB, free: 35.95 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001381/5.929, allocations: 1.481 MB / 3.019 GB, free: 34.35 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/5.929, allocations: 4.031 kB / 3.019 GB, free: 34.34 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/5.93, allocations: 0.8727 MB / 3.02 GB, free: 33.45 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003291/5.93, allocations: 279.8 kB / 3.021 GB, free: 33.16 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/5.93, allocations: 4 kB / 3.021 GB, free: 33.16 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005451/5.931, allocations: 52.02 kB / 3.021 GB, free: 33.11 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/5.931, allocations: 68.67 kB / 3.021 GB, free: 33.04 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-05/5.931, allocations: 35.98 kB / 3.021 GB, free: 33 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004596/5.932, allocations: 406.8 kB / 3.021 GB, free: 32.61 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.61e-07/5.932, allocations: 0 / 3.021 GB, free: 32.61 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001113/5.933, allocations: 347 kB / 3.021 GB, free: 32.27 MB / 1.151 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 (93): * Single equations (assignments): 90 * 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.001762/5.935, allocations: 1.102 MB / 3.022 GB, free: 31.26 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001106/5.936, allocations: 0.6667 MB / 3.023 GB, free: 30.59 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/5.936, allocations: 4 kB / 3.023 GB, free: 30.58 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006224/5.936, allocations: 468.6 kB / 3.024 GB, free: 30.11 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/5.937, allocations: 213.4 kB / 3.024 GB, free: 29.91 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003111/5.941, allocations: 1.313 MB / 3.025 GB, free: 28.57 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/5.941, allocations: 1.033 MB / 3.026 GB, free: 27.51 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008003/5.942, allocations: 269.8 kB / 3.026 GB, free: 27.25 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/5.942, allocations: 103.4 kB / 3.026 GB, free: 27.14 MB / 1.151 GB Notification: Performance of SimCode: time 6.52e-07/5.942, allocations: 0 / 3.026 GB, free: 27.14 MB / 1.151 GB Notification: Performance of Templates: time 0.02365/5.966, allocations: 15.9 MB / 3.042 GB, free: 11.36 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches