Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.22/2.22, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.001024/0.001024, allocations: 180.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 221.3 MB / 0.7915 GB, free: 5.438 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.0009588/0.0009588, allocations: 91.91 kB / 0.9317 GB, free: 5.758 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.67e-05/3.671e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3441, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.487/5.832, allocations: 1.731 GB / 2.95 GB, free: 104.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/5.832, allocations: 91.95 kB / 2.95 GB, free: 104.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1285/5.96, allocations: 58.62 MB / 3.007 GB, free: 45.57 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.904e-06/5.96, allocations: 0 / 3.007 GB, free: 45.57 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001521/5.961, allocations: 27.92 kB / 3.007 GB, free: 45.55 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002817/5.963, allocations: 1.044 MB / 3.008 GB, free: 44.46 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/5.964, allocations: 16.03 kB / 3.008 GB, free: 44.44 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/5.965, allocations: 178.6 kB / 3.009 GB, free: 44.27 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/5.966, allocations: 0.6153 MB / 3.009 GB, free: 43.61 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.042e-05/5.966, allocations: 54 kB / 3.009 GB, free: 43.55 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/5.966, allocations: 76 kB / 3.009 GB, free: 43.48 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/5.968, allocations: 0.8014 MB / 3.01 GB, free: 42.64 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/5.968, allocations: 0 / 3.01 GB, free: 42.64 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.479e-05/5.968, allocations: 39.95 kB / 3.01 GB, free: 42.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/5.968, allocations: 20 kB / 3.01 GB, free: 42.58 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/5.97, allocations: 1.003 MB / 3.011 GB, free: 41.57 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003848/5.973, allocations: 2.375 MB / 3.013 GB, free: 39.13 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/5.975, allocations: 0.7484 MB / 3.014 GB, free: 38.35 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003703/5.975, allocations: 254.5 kB / 3.014 GB, free: 38.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.165e-05/5.975, allocations: 24.59 kB / 3.014 GB, free: 38.07 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000605/5.976, allocations: 398.9 kB / 3.015 GB, free: 37.67 MB / 1.167 GB Notification: Performance of pre-optimization done (n=70): time 2.735e-06/5.976, allocations: 0 / 3.015 GB, free: 37.67 MB / 1.167 GB Notification: Performance of matching and sorting (n=70): time 0.001561/5.977, allocations: 0.659 MB / 3.015 GB, free: 37 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.339e-05/5.977, allocations: 247.9 kB / 3.016 GB, free: 36.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007188/5.978, allocations: 0.5736 MB / 3.016 GB, free: 36.12 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.427e-05/5.978, allocations: 37.7 kB / 3.016 GB, free: 36.08 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/5.978, allocations: 364.4 kB / 3.017 GB, free: 35.71 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/5.979, allocations: 228.7 kB / 3.017 GB, free: 35.49 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/5.979, allocations: 12 kB / 3.017 GB, free: 35.48 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001/5.979, allocations: 378.8 kB / 3.017 GB, free: 35.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000291/5.979, allocations: 189.5 kB / 3.017 GB, free: 34.91 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003472/5.979, allocations: 309 kB / 3.018 GB, free: 34.58 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003533/5.98, allocations: 234 kB / 3.018 GB, free: 34.35 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/5.98, allocations: 4 kB / 3.018 GB, free: 34.34 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001306/5.981, allocations: 0.6641 MB / 3.019 GB, free: 33.67 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/5.981, allocations: 11.94 kB / 3.019 GB, free: 33.66 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/5.981, allocations: 4.062 kB / 3.019 GB, free: 33.66 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005761/5.982, allocations: 84.75 kB / 3.019 GB, free: 33.57 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005015/5.982, allocations: 135.8 kB / 3.019 GB, free: 33.44 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/5.984, allocations: 1.505 MB / 3.02 GB, free: 31.79 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005929/5.985, allocations: 87.39 kB / 3.02 GB, free: 31.71 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-05/5.985, allocations: 27.98 kB / 3.02 GB, free: 31.68 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: 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.0001664/5.985, allocations: 138.3 kB / 3.02 GB, free: 31.54 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/5.985, allocations: 79.02 kB / 3.021 GB, free: 31.46 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001834/5.987, allocations: 0.9263 MB / 3.021 GB, free: 30.52 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/5.987, allocations: 8 kB / 3.021 GB, free: 30.51 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/5.987, allocations: 7.984 kB / 3.021 GB, free: 30.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/5.987, allocations: 7.922 kB / 3.022 GB, free: 30.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002625/5.989, allocations: 1.808 MB / 3.023 GB, free: 28.63 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/5.989, allocations: 3.953 kB / 3.023 GB, free: 28.62 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000487/5.99, allocations: 131.8 kB / 3.023 GB, free: 28.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004622/5.99, allocations: 88.77 kB / 3.023 GB, free: 28.41 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.729e-05/5.991, allocations: 27.98 kB / 3.024 GB, free: 28.38 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001414/5.992, allocations: 1.528 MB / 3.025 GB, free: 26.71 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/5.992, allocations: 4.031 kB / 3.025 GB, free: 26.71 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001349/5.993, allocations: 0.8493 MB / 3.026 GB, free: 25.84 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003635/5.994, allocations: 271.8 kB / 3.026 GB, free: 25.55 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/5.994, allocations: 20 kB / 3.026 GB, free: 25.53 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005521/5.994, allocations: 59.95 kB / 3.026 GB, free: 25.47 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/5.995, allocations: 60.69 kB / 3.026 GB, free: 25.41 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.433e-05/5.995, allocations: 27.98 kB / 3.026 GB, free: 25.39 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005817/5.995, allocations: 475.1 kB / 3.027 GB, free: 24.93 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/5.995, allocations: 0 / 3.027 GB, free: 24.93 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001155/5.996, allocations: 351.2 kB / 3.027 GB, free: 24.59 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) * 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.002192/5.999, allocations: 1.037 MB / 3.028 GB, free: 23.69 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001197/6, allocations: 0.6632 MB / 3.029 GB, free: 23.01 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/6, allocations: 4 kB / 3.029 GB, free: 23.01 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006478/6, allocations: 451.1 kB / 3.029 GB, free: 22.56 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/6.002, allocations: 241.5 kB / 3.029 GB, free: 22.33 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003266/6.005, allocations: 1.297 MB / 3.031 GB, free: 21 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/6.005, allocations: 1.009 MB / 3.032 GB, free: 19.97 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007867/6.006, allocations: 249.9 kB / 3.032 GB, free: 19.73 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/6.006, allocations: 91.39 kB / 3.032 GB, free: 19.64 MB / 1.167 GB Notification: Performance of SimCode: time 6.42e-07/6.006, allocations: 0 / 3.032 GB, free: 19.64 MB / 1.167 GB Notification: Performance of Templates: time 0.828/6.834, allocations: 21.67 MB / 3.053 GB, free: 399 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches