Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_9_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_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.645/2.645, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001136/0.001136, allocations: 180.2 kB / 498.1 MB, free: 5.727 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.57/1.57, allocations: 223.2 MB / 0.7948 GB, free: 18.81 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.0009162/0.0009163, allocations: 94.28 kB / 0.9346 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003582, allocations: 8.656 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3167, allocations: 142.4 MB / 1.223 GB, free: 89.59 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.808/5.125, allocations: 1.731 GB / 2.954 GB, free: 215.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003594/5.125, allocations: 102.2 kB / 2.954 GB, free: 215.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1274/5.252, allocations: 60.45 MB / 3.013 GB, free: 164.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.815e-06/5.253, allocations: 0 / 3.013 GB, free: 164.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.726e-05/5.253, allocations: 27.94 kB / 3.014 GB, free: 164.7 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002422/5.255, allocations: 1.2 MB / 3.015 GB, free: 163.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/5.255, allocations: 12.03 kB / 3.015 GB, free: 163.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008701/5.256, allocations: 194.2 kB / 3.015 GB, free: 163.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000976/5.257, allocations: 0.617 MB / 3.015 GB, free: 162.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.542e-05/5.257, allocations: 61.75 kB / 3.016 GB, free: 162.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.41e-05/5.257, allocations: 81.25 kB / 3.016 GB, free: 162.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/5.259, allocations: 0.8886 MB / 3.016 GB, free: 162 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/5.259, allocations: 4 kB / 3.016 GB, free: 162 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.67e-05/5.259, allocations: 38.02 kB / 3.017 GB, free: 162 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/5.259, allocations: 20 kB / 3.017 GB, free: 162 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001629/5.26, allocations: 1.111 MB / 3.018 GB, free: 161.1 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003695/5.264, allocations: 2.559 MB / 3.02 GB, free: 159.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/5.266, allocations: 0.8877 MB / 3.021 GB, free: 158.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.02e-05/5.266, allocations: 36.09 kB / 3.021 GB, free: 158.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006917/5.266, allocations: 452.1 kB / 3.021 GB, free: 158 MB / 1.167 GB Notification: Performance of pre-optimization done (n=76): time 2.886e-06/5.267, allocations: 0 / 3.021 GB, free: 158 MB / 1.167 GB Notification: Performance of matching and sorting (n=76): time 0.002768/5.269, allocations: 1.136 MB / 3.023 GB, free: 157.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.379e-05/5.269, allocations: 243.9 kB / 3.023 GB, free: 156.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007027/5.27, allocations: 0.5978 MB / 3.023 GB, free: 156.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.58e-05/5.27, allocations: 41.02 kB / 3.023 GB, free: 156.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002682/5.27, allocations: 376.4 kB / 3.024 GB, free: 156.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/5.271, allocations: 252.7 kB / 3.024 GB, free: 155.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/5.271, allocations: 11.25 kB / 3.024 GB, free: 155.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001296/5.271, allocations: 384.2 kB / 3.024 GB, free: 155.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004217/5.271, allocations: 229.8 kB / 3.025 GB, free: 155.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004547/5.272, allocations: 341.5 kB / 3.025 GB, free: 155.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000456/5.272, allocations: 279.4 kB / 3.025 GB, free: 154.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/5.272, allocations: 7.953 kB / 3.025 GB, free: 154.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00155/5.274, allocations: 0.7443 MB / 3.026 GB, free: 154.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/5.274, allocations: 4 kB / 3.026 GB, free: 154.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/5.274, allocations: 11.92 kB / 3.026 GB, free: 154.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006214/5.274, allocations: 80.22 kB / 3.026 GB, free: 154.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006182/5.275, allocations: 147.6 kB / 3.026 GB, free: 154.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001908/5.277, allocations: 1.534 MB / 3.028 GB, free: 152.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006675/5.278, allocations: 90.17 kB / 3.028 GB, free: 152.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.197e-05/5.278, allocations: 38.92 kB / 3.028 GB, free: 152.5 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: 7 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked 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.0005318/5.278, allocations: 252.2 kB / 3.028 GB, free: 152.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/5.278, allocations: 82.95 kB / 3.028 GB, free: 152.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002095/5.28, allocations: 1.065 MB / 3.029 GB, free: 151.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.443e-06/5.281, allocations: 15.95 kB / 3.029 GB, free: 151.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/5.281, allocations: 4 kB / 3.029 GB, free: 151.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/5.281, allocations: 3.984 kB / 3.029 GB, free: 151.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00298/5.284, allocations: 1.973 MB / 3.031 GB, free: 149.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/5.284, allocations: 0 / 3.031 GB, free: 149.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005692/5.284, allocations: 171.3 kB / 3.031 GB, free: 149.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004914/5.285, allocations: 80.47 kB / 3.031 GB, free: 149.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.247e-05/5.285, allocations: 22.48 kB / 3.031 GB, free: 149.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/5.286, allocations: 1.565 MB / 3.033 GB, free: 148.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/5.286, allocations: 0 / 3.033 GB, free: 148.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/5.288, allocations: 0.9689 MB / 3.034 GB, free: 147.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004363/5.289, allocations: 295.1 kB / 3.034 GB, free: 147.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/5.289, allocations: 15.06 kB / 3.034 GB, free: 147.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000563/5.289, allocations: 78.83 kB / 3.034 GB, free: 147 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/5.289, allocations: 67.66 kB / 3.034 GB, free: 146.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-05/5.289, allocations: 27.67 kB / 3.034 GB, free: 146.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006056/5.29, allocations: 495.5 kB / 3.035 GB, free: 146.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/5.29, allocations: 0 / 3.035 GB, free: 146.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001355/5.291, allocations: 371.1 kB / 3.035 GB, free: 146.3 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) * Number of clocked states: 0 () * 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.002122/5.294, allocations: 1.092 MB / 3.036 GB, free: 145.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001452/5.295, allocations: 0.7606 MB / 3.037 GB, free: 144.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/5.295, allocations: 0 / 3.037 GB, free: 144.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007616/5.296, allocations: 0.5111 MB / 3.037 GB, free: 144.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/5.297, allocations: 242.3 kB / 3.038 GB, free: 144.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003893/5.301, allocations: 2.134 MB / 3.04 GB, free: 142.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/5.301, allocations: 1.035 MB / 3.041 GB, free: 141.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008593/5.302, allocations: 258.4 kB / 3.041 GB, free: 140.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/5.302, allocations: 106.4 kB / 3.041 GB, free: 140.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.052e-06/5.302, allocations: 7.938 kB / 3.041 GB, free: 140.8 MB / 1.167 GB Notification: Performance of Templates: time 0.03189/5.334, allocations: 20.72 MB / 3.061 GB, free: 120.2 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches