Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.45/1.45, allocations: 251.9 MB / 266.9 MB, free: 10.88 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001306/0.001305, allocations: 180.7 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.164/2.164, allocations: 205.4 MB / 0.5775 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008646/0.0008647, allocations: 87.58 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004212/0.0004211, allocations: 9 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.2992, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.995/5.294, allocations: 2.191 GB / 3.091 GB, free: 28.97 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000366/5.294, allocations: 101.7 kB / 3.091 GB, free: 28.88 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.6244/5.919, allocations: 59.54 MB / 3.149 GB, free: 312.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.345e-06/5.919, allocations: 4 kB / 3.149 GB, free: 312.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001143/5.919, allocations: 24.31 kB / 3.149 GB, free: 312.7 MB / 0.8855 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.003272/5.922, allocations: 1.184 MB / 3.15 GB, free: 311.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/5.922, allocations: 9.625 kB / 3.15 GB, free: 311.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/5.923, allocations: 189.2 kB / 3.151 GB, free: 311.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/5.925, allocations: 0.6446 MB / 3.151 GB, free: 311.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001683/5.925, allocations: 99.67 kB / 3.151 GB, free: 311.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/5.925, allocations: 76.12 kB / 3.151 GB, free: 311.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/5.927, allocations: 0.8759 MB / 3.152 GB, free: 311.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/5.927, allocations: 3.797 kB / 3.152 GB, free: 311.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.461e-05/5.927, allocations: 34.8 kB / 3.152 GB, free: 311.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/5.927, allocations: 19.31 kB / 3.152 GB, free: 311.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/5.929, allocations: 1.1 MB / 3.153 GB, free: 311.4 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004228/5.933, allocations: 2.425 MB / 3.156 GB, free: 310.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002037/5.935, allocations: 0.8902 MB / 3.157 GB, free: 310.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.47e-05/5.936, allocations: 37.52 kB / 3.157 GB, free: 310.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008147/5.936, allocations: 448.7 kB / 3.157 GB, free: 310.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 3.677e-06/5.936, allocations: 0 / 3.157 GB, free: 310.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.003215/5.94, allocations: 1.158 MB / 3.158 GB, free: 310.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.498e-05/5.94, allocations: 247.3 kB / 3.158 GB, free: 309.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008024/5.94, allocations: 0.5758 MB / 3.159 GB, free: 309.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.717e-05/5.941, allocations: 42.17 kB / 3.159 GB, free: 309.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/5.941, allocations: 365.6 kB / 3.159 GB, free: 309.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/5.941, allocations: 248.4 kB / 3.16 GB, free: 309.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/5.941, allocations: 15.56 kB / 3.16 GB, free: 309.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001165/5.941, allocations: 381 kB / 3.16 GB, free: 309.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005044/5.942, allocations: 233.7 kB / 3.16 GB, free: 309.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005786/5.942, allocations: 352.4 kB / 3.161 GB, free: 309 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000583/5.943, allocations: 279.2 kB / 3.161 GB, free: 309 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/5.943, allocations: 0 / 3.161 GB, free: 309 MB / 0.8855 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001874/5.945, allocations: 0.7681 MB / 3.162 GB, free: 308.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/5.945, allocations: 6.031 kB / 3.162 GB, free: 308.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/5.945, allocations: 0 / 3.162 GB, free: 308.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006412/5.945, allocations: 85.05 kB / 3.162 GB, free: 308.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006266/5.946, allocations: 150.3 kB / 3.162 GB, free: 308.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/5.948, allocations: 1.531 MB / 3.163 GB, free: 307.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000708/5.949, allocations: 83.16 kB / 3.163 GB, free: 307.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.507e-05/5.949, allocations: 27.31 kB / 3.163 GB, free: 307.6 MB / 0.8855 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * 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.0004889/5.949, allocations: 259 kB / 3.164 GB, free: 307.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/5.95, allocations: 77.22 kB / 3.164 GB, free: 307.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002611/5.952, allocations: 1.089 MB / 3.165 GB, free: 307.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/5.952, allocations: 10.56 kB / 3.165 GB, free: 307.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/5.952, allocations: 0 / 3.165 GB, free: 307.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/5.952, allocations: 3.656 kB / 3.165 GB, free: 307.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003542/5.956, allocations: 1.997 MB / 3.167 GB, free: 306.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/5.956, allocations: 0 / 3.167 GB, free: 306.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006542/5.956, allocations: 169.8 kB / 3.167 GB, free: 306.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005132/5.957, allocations: 83.3 kB / 3.167 GB, free: 306.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-05/5.957, allocations: 24.42 kB / 3.167 GB, free: 306.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001615/5.959, allocations: 1.562 MB / 3.169 GB, free: 305.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/5.959, allocations: 0 / 3.169 GB, free: 305.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/5.961, allocations: 0.9816 MB / 3.169 GB, free: 305.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004768/5.961, allocations: 293.5 kB / 3.17 GB, free: 305.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/5.961, allocations: 19.88 kB / 3.17 GB, free: 305.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006634/5.962, allocations: 69.02 kB / 3.17 GB, free: 305.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/5.962, allocations: 68.17 kB / 3.17 GB, free: 305.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.247e-05/5.962, allocations: 28.31 kB / 3.17 GB, free: 305.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006097/5.963, allocations: 480.6 kB / 3.17 GB, free: 304.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.3e-07/5.963, allocations: 0 / 3.17 GB, free: 304.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001205/5.964, allocations: 348.7 kB / 3.171 GB, free: 304.8 MB / 0.8855 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.002116/5.966, allocations: 1.029 MB / 3.172 GB, free: 304.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001704/5.968, allocations: 0.7691 MB / 3.172 GB, free: 304 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/5.968, allocations: 0 / 3.172 GB, free: 304 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000896/5.969, allocations: 0.5217 MB / 3.173 GB, free: 303.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/5.97, allocations: 239.8 kB / 3.173 GB, free: 303.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004567/5.975, allocations: 2.14 MB / 3.175 GB, free: 302.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006323/5.975, allocations: 1.029 MB / 3.176 GB, free: 301.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001008/5.976, allocations: 267.3 kB / 3.177 GB, free: 301.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002704/5.976, allocations: 96.83 kB / 3.177 GB, free: 301.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.052e-06/5.976, allocations: 0 / 3.177 GB, free: 301.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.03041/6.007, allocations: 20.12 MB / 3.196 GB, free: 284.5 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches