Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.537/1.537, allocations: 249.3 MB / 261.8 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001321/0.001321, allocations: 178.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.001/2.001, allocations: 205.2 MB / 0.572 GB, free: 10.6 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.0009896/0.0009898, allocations: 93.41 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.269e-05/4.272e-05, allocations: 4 kB / 0.7879 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2894, allocations: 106.3 MB / 0.8918 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.561/5.85, allocations: 2.19 GB / 3.081 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003916/5.851, allocations: 87.94 kB / 3.082 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1228/5.974, allocations: 58.61 MB / 3.139 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.984e-06/5.974, allocations: 0 / 3.139 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.361e-05/5.974, allocations: 24 kB / 3.139 GB, free: 120.3 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.001689/5.975, allocations: 1.031 MB / 3.14 GB, free: 119.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/5.975, allocations: 12.03 kB / 3.14 GB, free: 119.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008119/5.976, allocations: 190.5 kB / 3.14 GB, free: 119 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008675/5.977, allocations: 0.6036 MB / 3.141 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.88e-05/5.977, allocations: 58 kB / 3.141 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.191e-05/5.977, allocations: 72 kB / 3.141 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/5.978, allocations: 0.8208 MB / 3.142 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/5.979, allocations: 0 / 3.142 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-05/5.979, allocations: 32 kB / 3.142 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/5.979, allocations: 23.95 kB / 3.142 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/5.98, allocations: 1.019 MB / 3.143 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003156/5.983, allocations: 2.367 MB / 3.145 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/5.984, allocations: 0.7507 MB / 3.146 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/5.984, allocations: 266.5 kB / 3.146 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.758e-05/5.984, allocations: 28.59 kB / 3.146 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005829/5.985, allocations: 420.9 kB / 3.146 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=72): time 2.876e-06/5.985, allocations: 0 / 3.146 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=72): time 0.001464/5.987, allocations: 0.6808 MB / 3.147 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.802e-05/5.987, allocations: 248 kB / 3.147 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006192/5.987, allocations: 0.5619 MB / 3.148 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.328e-05/5.987, allocations: 41.7 kB / 3.148 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000239/5.988, allocations: 364.3 kB / 3.148 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/5.988, allocations: 240.5 kB / 3.148 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/5.988, allocations: 12 kB / 3.148 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001138/5.988, allocations: 378.8 kB / 3.149 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002815/5.988, allocations: 189.5 kB / 3.149 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/5.989, allocations: 309.1 kB / 3.149 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/5.989, allocations: 246 kB / 3.149 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/5.989, allocations: 0 / 3.149 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001283/5.99, allocations: 0.6798 MB / 3.15 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/5.99, allocations: 7.953 kB / 3.15 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/5.99, allocations: 0 / 3.15 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005708/5.991, allocations: 84.77 kB / 3.15 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005359/5.991, allocations: 139.8 kB / 3.15 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/5.993, allocations: 1.517 MB / 3.152 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005521/5.994, allocations: 75.41 kB / 3.152 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.306e-05/5.994, allocations: 28.05 kB / 3.152 GB, free: 106.4 MB / 0.8698 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 (74): * Single equations (assignments): 73 * 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.0001587/5.994, allocations: 146.6 kB / 3.152 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/5.994, allocations: 83.02 kB / 3.152 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001938/5.996, allocations: 0.973 MB / 3.153 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/5.996, allocations: 8 kB / 3.153 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/5.996, allocations: 0 / 3.153 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/5.996, allocations: 3.984 kB / 3.153 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002565/5.999, allocations: 1.855 MB / 3.155 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/5.999, allocations: 0 / 3.155 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005151/5.999, allocations: 143.8 kB / 3.155 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004621/6, allocations: 92.66 kB / 3.155 GB, free: 103 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.966e-05/6, allocations: 23.98 kB / 3.155 GB, free: 103 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/6.001, allocations: 1.532 MB / 3.157 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/6.001, allocations: 3.938 kB / 3.157 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/6.003, allocations: 0.8766 MB / 3.158 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003743/6.003, allocations: 279.8 kB / 3.158 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.505e-05/6.003, allocations: 16 kB / 3.158 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005176/6.004, allocations: 63.95 kB / 3.158 GB, free: 100 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/6.004, allocations: 64.83 kB / 3.158 GB, free: 99.97 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.354e-05/6.004, allocations: 31.98 kB / 3.158 GB, free: 99.94 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005195/6.004, allocations: 467.1 kB / 3.158 GB, free: 99.48 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.41e-07/6.004, allocations: 0 / 3.158 GB, free: 99.48 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001037/6.005, allocations: 331.1 kB / 3.159 GB, free: 99.16 MB / 0.8698 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 (86): * Single equations (assignments): 83 * 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.001839/6.007, allocations: 0.9935 MB / 3.16 GB, free: 98.24 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001216/6.008, allocations: 0.6864 MB / 3.16 GB, free: 97.54 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/6.008, allocations: 0 / 3.16 GB, free: 97.54 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006303/6.009, allocations: 467 kB / 3.161 GB, free: 97.07 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/6.01, allocations: 243.4 kB / 3.161 GB, free: 96.84 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003139/6.013, allocations: 1.332 MB / 3.162 GB, free: 95.48 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/6.014, allocations: 1.015 MB / 3.163 GB, free: 94.44 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008356/6.015, allocations: 249.9 kB / 3.164 GB, free: 94.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002347/6.015, allocations: 99.39 kB / 3.164 GB, free: 94.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.162e-06/6.015, allocations: 0 / 3.164 GB, free: 94.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.03006/6.045, allocations: 21.55 MB / 3.185 GB, free: 72.61 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches