Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.223/2.223, allocations: 390.5 MB / 398 MB, free: 10.98 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.001213/0.001212, allocations: 187.2 kB / 491.2 MB, free: 1.609 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.709/1.709, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.001039/0.00104, allocations: 102.3 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.16e-05/2.162e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3673, allocations: 143 MB / 1.212 GB, free: 39.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.232/5.599, allocations: 1.732 GB / 2.944 GB, free: 144.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/5.6, allocations: 95.94 kB / 2.944 GB, free: 144.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.132/5.732, allocations: 58.88 MB / 3.002 GB, free: 85.52 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.294e-06/5.732, allocations: 0 / 3.002 GB, free: 85.52 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001091/5.732, allocations: 24 kB / 3.002 GB, free: 85.5 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.00268/5.735, allocations: 1.083 MB / 3.003 GB, free: 84.37 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/5.735, allocations: 8.031 kB / 3.003 GB, free: 84.36 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/5.736, allocations: 186.6 kB / 3.003 GB, free: 84.18 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/5.737, allocations: 0.6153 MB / 3.004 GB, free: 83.52 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.922e-05/5.737, allocations: 24 kB / 3.004 GB, free: 83.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/5.737, allocations: 48 kB / 3.004 GB, free: 83.45 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001509/5.739, allocations: 1.003 MB / 3.005 GB, free: 82.45 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/5.74, allocations: 0.7428 MB / 3.005 GB, free: 81.66 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/5.74, allocations: 11.88 kB / 3.005 GB, free: 81.65 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.648e-05/5.74, allocations: 0 / 3.005 GB, free: 81.65 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/5.74, allocations: 20 kB / 3.005 GB, free: 81.63 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003922/5.744, allocations: 2.399 MB / 3.008 GB, free: 79.18 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/5.745, allocations: 0.6589 MB / 3.008 GB, free: 78.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003209/5.746, allocations: 255.2 kB / 3.009 GB, free: 78.25 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 8.467e-05/5.746, allocations: 32.72 kB / 3.009 GB, free: 78.22 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005786/5.746, allocations: 395.8 kB / 3.009 GB, free: 77.82 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 2.705e-06/5.746, allocations: 4 kB / 3.009 GB, free: 77.81 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.001576/5.748, allocations: 0.6682 MB / 3.01 GB, free: 77.13 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.163e-05/5.748, allocations: 244.1 kB / 3.01 GB, free: 76.84 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006672/5.749, allocations: 0.4983 MB / 3.01 GB, free: 76.34 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.512e-05/5.749, allocations: 29.7 kB / 3.01 GB, free: 76.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/5.749, allocations: 384.2 kB / 3.011 GB, free: 75.92 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/5.749, allocations: 240.4 kB / 3.011 GB, free: 75.68 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/5.749, allocations: 0 / 3.011 GB, free: 75.68 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.817e-05/5.749, allocations: 374.8 kB / 3.011 GB, free: 75.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/5.75, allocations: 201.5 kB / 3.012 GB, free: 75.11 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/5.75, allocations: 299.5 kB / 3.012 GB, free: 74.79 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003671/5.75, allocations: 244.5 kB / 3.012 GB, free: 74.55 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/5.75, allocations: 4 kB / 3.012 GB, free: 74.54 MB / 1.151 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001384/5.752, allocations: 0.6797 MB / 3.013 GB, free: 73.85 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/5.752, allocations: 5.719 kB / 3.013 GB, free: 73.85 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/5.752, allocations: 0 / 3.013 GB, free: 73.85 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00061/5.752, allocations: 84.84 kB / 3.013 GB, free: 73.76 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005905/5.753, allocations: 151.8 kB / 3.013 GB, free: 73.61 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001566/5.755, allocations: 1.449 MB / 3.014 GB, free: 72.04 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006321/5.755, allocations: 63.52 kB / 3.015 GB, free: 71.98 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-05/5.755, allocations: 35.91 kB / 3.015 GB, free: 71.94 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 (80): * Single equations (assignments): 79 * 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.0001842/5.755, allocations: 124.9 kB / 3.015 GB, free: 71.81 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/5.756, allocations: 75.06 kB / 3.015 GB, free: 71.74 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002036/5.758, allocations: 0.9386 MB / 3.016 GB, free: 70.79 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/5.758, allocations: 8 kB / 3.016 GB, free: 70.78 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/5.758, allocations: 0 / 3.016 GB, free: 70.78 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/5.758, allocations: 7.938 kB / 3.016 GB, free: 70.77 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003051/5.761, allocations: 1.714 MB / 3.017 GB, free: 69.01 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/5.761, allocations: 0 / 3.017 GB, free: 69.01 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005818/5.761, allocations: 147.8 kB / 3.017 GB, free: 68.86 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004932/5.762, allocations: 80.78 kB / 3.018 GB, free: 68.78 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.358e-05/5.762, allocations: 19.98 kB / 3.018 GB, free: 68.76 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00151/5.764, allocations: 1.481 MB / 3.019 GB, free: 67.16 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/5.764, allocations: 4.031 kB / 3.019 GB, free: 67.16 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/5.765, allocations: 0.8415 MB / 3.02 GB, free: 66.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004326/5.765, allocations: 279.8 kB / 3.02 GB, free: 66 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000181/5.766, allocations: 0 / 3.02 GB, free: 66 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006041/5.766, allocations: 51.95 kB / 3.02 GB, free: 65.95 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/5.766, allocations: 64.69 kB / 3.02 GB, free: 65.89 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.525e-05/5.766, allocations: 31.98 kB / 3.02 GB, free: 65.86 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005522/5.767, allocations: 418.8 kB / 3.021 GB, free: 65.45 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/5.767, allocations: 0 / 3.021 GB, free: 65.45 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001359/5.768, allocations: 323.1 kB / 3.021 GB, free: 65.14 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 (87): * Single equations (assignments): 84 * 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.002255/5.771, allocations: 1.081 MB / 3.022 GB, free: 64.16 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001268/5.772, allocations: 0.6667 MB / 3.023 GB, free: 63.48 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/5.772, allocations: 4 kB / 3.023 GB, free: 63.47 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006996/5.773, allocations: 460.5 kB / 3.023 GB, free: 63.02 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/5.774, allocations: 224 kB / 3.023 GB, free: 62.81 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003521/5.777, allocations: 1.297 MB / 3.025 GB, free: 61.48 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005234/5.778, allocations: 1.027 MB / 3.026 GB, free: 60.42 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009415/5.779, allocations: 257.9 kB / 3.026 GB, free: 60.17 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002705/5.779, allocations: 95.38 kB / 3.026 GB, free: 60.07 MB / 1.151 GB Notification: Performance of SimCode: time 7.42e-07/5.779, allocations: 4 kB / 3.026 GB, free: 60.07 MB / 1.151 GB Notification: Performance of Templates: time 0.03636/5.816, allocations: 15.74 MB / 3.041 GB, free: 44.45 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches