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.596/2.596, allocations: 390.5 MB / 398 MB, free: 10.99 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.001524/0.001524, allocations: 172.9 kB / 491.2 MB, free: 1.625 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.851/1.851, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.001242/0.001242, allocations: 112.3 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.831e-05/1.835e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3033, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.299/4.602, allocations: 1.731 GB / 2.943 GB, free: 134.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/4.603, allocations: 83.95 kB / 2.943 GB, free: 134.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1304/4.733, allocations: 62.61 MB / 3.004 GB, free: 71.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.104e-06/4.733, allocations: 0 / 3.004 GB, free: 71.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.924e-05/4.733, allocations: 20 kB / 3.004 GB, free: 71.18 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001387/4.735, allocations: 1.051 MB / 3.005 GB, free: 70.08 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/4.735, allocations: 8.031 kB / 3.005 GB, free: 70.07 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007756/4.735, allocations: 182.6 kB / 3.005 GB, free: 69.89 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007272/4.736, allocations: 0.6036 MB / 3.006 GB, free: 69.25 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/4.736, allocations: 28 kB / 3.006 GB, free: 69.22 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.914e-05/4.736, allocations: 48 kB / 3.006 GB, free: 69.17 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001103/4.737, allocations: 0.9718 MB / 3.007 GB, free: 68.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009501/4.738, allocations: 0.7154 MB / 3.008 GB, free: 67.45 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/4.738, allocations: 11.89 kB / 3.008 GB, free: 67.43 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.027e-05/4.738, allocations: 0 / 3.008 GB, free: 67.43 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/4.738, allocations: 20 kB / 3.008 GB, free: 67.41 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002698/4.741, allocations: 2.27 MB / 3.01 GB, free: 65.09 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007662/4.742, allocations: 0.7326 MB / 3.011 GB, free: 64.32 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002658/4.742, allocations: 234.5 kB / 3.011 GB, free: 64.09 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.747e-05/4.742, allocations: 32.58 kB / 3.011 GB, free: 64.06 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004444/4.743, allocations: 377.8 kB / 3.011 GB, free: 63.67 MB / 1.151 GB Notification: Performance of pre-optimization done (n=70): time 2.004e-06/4.743, allocations: 3.938 kB / 3.011 GB, free: 63.67 MB / 1.151 GB Notification: Performance of matching and sorting (n=70): time 0.00124/4.744, allocations: 0.6317 MB / 3.012 GB, free: 63.03 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/4.744, allocations: 243.9 kB / 3.012 GB, free: 62.73 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004544/4.744, allocations: 498.3 kB / 3.013 GB, free: 62.24 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.518e-05/4.744, allocations: 29.7 kB / 3.013 GB, free: 62.21 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/4.745, allocations: 372.2 kB / 3.013 GB, free: 61.84 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/4.745, allocations: 220.6 kB / 3.013 GB, free: 61.62 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/4.745, allocations: 0 / 3.013 GB, free: 61.62 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.213e-05/4.745, allocations: 374.8 kB / 3.014 GB, free: 61.24 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/4.745, allocations: 185.5 kB / 3.014 GB, free: 61.06 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/4.745, allocations: 291.5 kB / 3.014 GB, free: 60.75 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002847/4.746, allocations: 228.5 kB / 3.014 GB, free: 60.53 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/4.746, allocations: 0 / 3.014 GB, free: 60.53 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00114/4.747, allocations: 0.6368 MB / 3.015 GB, free: 59.88 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/4.747, allocations: 5.562 kB / 3.015 GB, free: 59.88 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/4.747, allocations: 4 kB / 3.015 GB, free: 59.87 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005376/4.747, allocations: 88.77 kB / 3.015 GB, free: 59.78 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004984/4.748, allocations: 127.9 kB / 3.015 GB, free: 59.66 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/4.749, allocations: 1.469 MB / 3.016 GB, free: 58.05 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000441/4.75, allocations: 59.53 kB / 3.017 GB, free: 58 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.466e-05/4.75, allocations: 23.98 kB / 3.017 GB, free: 57.97 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: 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.0001223/4.75, allocations: 117.1 kB / 3.017 GB, free: 57.85 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.143e-05/4.75, allocations: 83.09 kB / 3.017 GB, free: 57.77 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/4.752, allocations: 0.8712 MB / 3.018 GB, free: 56.89 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/4.752, allocations: 15.94 kB / 3.018 GB, free: 56.87 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/4.752, allocations: 0 / 3.018 GB, free: 56.87 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/4.752, allocations: 3.984 kB / 3.018 GB, free: 56.87 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/4.754, allocations: 1.687 MB / 3.019 GB, free: 55.13 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/4.754, allocations: 0 / 3.019 GB, free: 55.13 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004942/4.754, allocations: 139.9 kB / 3.019 GB, free: 54.99 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004492/4.755, allocations: 88.72 kB / 3.019 GB, free: 54.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.108e-05/4.755, allocations: 15.94 kB / 3.02 GB, free: 54.89 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001259/4.756, allocations: 1.496 MB / 3.021 GB, free: 53.27 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/4.756, allocations: 0 / 3.021 GB, free: 53.27 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/4.757, allocations: 0.8026 MB / 3.022 GB, free: 52.45 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002514/4.758, allocations: 279.8 kB / 3.022 GB, free: 52.16 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-05/4.758, allocations: 0 / 3.022 GB, free: 52.16 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005119/4.758, allocations: 60 kB / 3.022 GB, free: 52.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.079e-05/4.758, allocations: 56.7 kB / 3.022 GB, free: 52.05 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.836e-05/4.758, allocations: 27.98 kB / 3.022 GB, free: 52.02 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003379/4.759, allocations: 398.9 kB / 3.023 GB, free: 51.63 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/4.759, allocations: 0 / 3.023 GB, free: 51.63 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008466/4.76, allocations: 319.1 kB / 3.023 GB, free: 51.32 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 (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.001494/4.761, allocations: 1.089 MB / 3.024 GB, free: 50.34 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009056/4.762, allocations: 0.6281 MB / 3.025 GB, free: 49.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/4.762, allocations: 3.938 kB / 3.025 GB, free: 49.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005402/4.763, allocations: 444.6 kB / 3.025 GB, free: 49.25 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009586/4.764, allocations: 211.8 kB / 3.025 GB, free: 49.05 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/4.766, allocations: 1.266 MB / 3.026 GB, free: 47.75 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/4.767, allocations: 1.015 MB / 3.027 GB, free: 46.71 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007047/4.768, allocations: 253.5 kB / 3.028 GB, free: 46.46 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/4.768, allocations: 91.38 kB / 3.028 GB, free: 46.37 MB / 1.151 GB Notification: Performance of SimCode: time 9.72e-07/4.768, allocations: 0 / 3.028 GB, free: 46.37 MB / 1.151 GB Notification: Performance of Templates: time 0.02227/4.79, allocations: 15.36 MB / 3.043 GB, free: 31.12 MB / 1.151 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