Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.221/2.221, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.001122/0.001122, allocations: 188.8 kB / 487.4 MB, free: 5.066 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.658/1.658, allocations: 221.5 MB / 0.7824 GB, free: 1.043 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008554/0.0008556, allocations: 98.25 kB / 0.9219 GB, free: 2.285 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.966e-05/1.969e-05, allocations: 0 / 1.067 GB, free: 185.8 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.364, allocations: 142.4 MB / 1.206 GB, free: 44.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.787/5.151, allocations: 1.732 GB / 2.938 GB, free: 151.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003477/5.151, allocations: 86.16 kB / 2.939 GB, free: 151.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1746/5.326, allocations: 83.2 MB / 3.02 GB, free: 68.26 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.094e-06/5.326, allocations: 0 / 3.02 GB, free: 68.26 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.089e-05/5.326, allocations: 32 kB / 3.02 GB, free: 68.23 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: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.00219/5.328, allocations: 1.319 MB / 3.021 GB, free: 66.86 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/5.328, allocations: 12.03 kB / 3.021 GB, free: 66.85 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009326/5.329, allocations: 234 kB / 3.021 GB, free: 66.62 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/5.33, allocations: 0.7444 MB / 3.022 GB, free: 65.83 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.273e-05/5.331, allocations: 80.19 kB / 3.022 GB, free: 65.74 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/5.331, allocations: 68 kB / 3.022 GB, free: 65.68 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001609/5.332, allocations: 1.266 MB / 3.023 GB, free: 64.41 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/5.334, allocations: 1.062 MB / 3.024 GB, free: 63.29 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/5.334, allocations: 4 kB / 3.024 GB, free: 63.28 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.902e-05/5.334, allocations: 3.953 kB / 3.024 GB, free: 63.28 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/5.334, allocations: 28 kB / 3.024 GB, free: 63.25 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004538/5.339, allocations: 3.325 MB / 3.028 GB, free: 59.86 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009635/5.339, allocations: 0.8177 MB / 3.029 GB, free: 59.04 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00037/5.34, allocations: 323.5 kB / 3.029 GB, free: 58.72 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 9.51e-05/5.34, allocations: 40.7 kB / 3.029 GB, free: 58.68 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006559/5.341, allocations: 0.4957 MB / 3.029 GB, free: 58.16 MB / 1.151 GB Notification: Performance of pre-optimization done (n=93): time 3.536e-06/5.341, allocations: 4 kB / 3.029 GB, free: 58.16 MB / 1.151 GB Notification: Performance of matching and sorting (n=93): time 0.00171/5.342, allocations: 0.8241 MB / 3.03 GB, free: 57.32 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/5.342, allocations: 248.1 kB / 3.03 GB, free: 57.02 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006201/5.343, allocations: 0.574 MB / 3.031 GB, free: 56.44 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.794e-05/5.343, allocations: 25.7 kB / 3.031 GB, free: 56.41 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002972/5.343, allocations: 0.5191 MB / 3.032 GB, free: 55.88 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/5.344, allocations: 287.6 kB / 3.032 GB, free: 55.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/5.344, allocations: 0 / 3.032 GB, free: 55.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001004/5.344, allocations: 386.8 kB / 3.032 GB, free: 55.21 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003416/5.344, allocations: 270.6 kB / 3.032 GB, free: 54.95 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004057/5.345, allocations: 393.2 kB / 3.033 GB, free: 54.53 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004576/5.345, allocations: 338.2 kB / 3.033 GB, free: 54.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/5.345, allocations: 0 / 3.033 GB, free: 54.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00157/5.347, allocations: 0.8756 MB / 3.034 GB, free: 53.31 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/5.347, allocations: 8.094 kB / 3.034 GB, free: 53.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/5.347, allocations: 0 / 3.034 GB, free: 53.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005703/5.347, allocations: 92.7 kB / 3.034 GB, free: 53.21 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007402/5.348, allocations: 183.8 kB / 3.034 GB, free: 53.03 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/5.349, allocations: 1.465 MB / 3.036 GB, free: 51.45 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007052/5.35, allocations: 83.33 kB / 3.036 GB, free: 51.36 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.894e-05/5.35, allocations: 35.97 kB / 3.036 GB, free: 51.33 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (102): * Single equations (assignments): 101 * 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.0001906/5.35, allocations: 126.6 kB / 3.036 GB, free: 51.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/5.351, allocations: 82.97 kB / 3.036 GB, free: 51.12 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/5.353, allocations: 1.191 MB / 3.037 GB, free: 49.91 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/5.353, allocations: 11.94 kB / 3.037 GB, free: 49.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.175e-06/5.353, allocations: 7.891 kB / 3.037 GB, free: 49.89 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/5.353, allocations: 11.97 kB / 3.037 GB, free: 49.88 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003122/5.356, allocations: 2.195 MB / 3.039 GB, free: 47.64 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/5.356, allocations: 0 / 3.039 GB, free: 47.64 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006784/5.357, allocations: 179.8 kB / 3.039 GB, free: 47.46 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004736/5.357, allocations: 84.77 kB / 3.04 GB, free: 47.38 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.449e-05/5.357, allocations: 19.98 kB / 3.04 GB, free: 47.36 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001383/5.359, allocations: 1.496 MB / 3.041 GB, free: 45.73 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/5.359, allocations: 0 / 3.041 GB, free: 45.73 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/5.36, allocations: 1.016 MB / 3.042 GB, free: 44.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004196/5.361, allocations: 335.4 kB / 3.042 GB, free: 44.35 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/5.361, allocations: 8 kB / 3.042 GB, free: 44.34 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006588/5.362, allocations: 59.94 kB / 3.042 GB, free: 44.28 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/5.362, allocations: 69.2 kB / 3.042 GB, free: 44.21 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.07e-05/5.362, allocations: 47.97 kB / 3.043 GB, free: 44.17 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005329/5.362, allocations: 487.1 kB / 3.043 GB, free: 43.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.41e-07/5.362, allocations: 0 / 3.043 GB, free: 43.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001232/5.364, allocations: 406.6 kB / 3.043 GB, free: 43.3 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 (107): * Single equations (assignments): 104 * 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.001698/5.365, allocations: 1.088 MB / 3.044 GB, free: 42.32 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001396/5.367, allocations: 0.8474 MB / 3.045 GB, free: 41.46 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/5.367, allocations: 0 / 3.045 GB, free: 41.46 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006823/5.367, allocations: 0.5298 MB / 3.046 GB, free: 40.93 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/5.369, allocations: 229.1 kB / 3.046 GB, free: 40.71 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00359/5.372, allocations: 1.653 MB / 3.048 GB, free: 39.03 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/5.373, allocations: 1.149 MB / 3.049 GB, free: 37.85 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008913/5.374, allocations: 283.1 kB / 3.049 GB, free: 37.57 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002818/5.374, allocations: 111.4 kB / 3.049 GB, free: 37.46 MB / 1.151 GB Notification: Performance of SimCode: time 5.41e-07/5.374, allocations: 0 / 3.049 GB, free: 37.46 MB / 1.151 GB Notification: Performance of Templates: time 0.02963/5.404, allocations: 18.16 MB / 3.067 GB, free: 19.41 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches