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.329/2.329, allocations: 387.1 MB / 399.7 MB, free: 9.426 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.00106/0.00106, allocations: 169 kB / 492.3 MB, free: 0.6172 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.644/1.644, allocations: 221.3 MB / 0.7872 GB, free: 12.88 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.00108/0.00108, allocations: 102.5 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.217e-05/3.228e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3645, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.823/5.188, allocations: 1.733 GB / 2.946 GB, free: 106 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/5.188, allocations: 86.52 kB / 2.946 GB, free: 105.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1736/5.362, allocations: 84.09 MB / 3.028 GB, free: 26.97 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.643e-06/5.362, allocations: 0 / 3.028 GB, free: 26.97 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.575e-05/5.362, allocations: 28 kB / 3.028 GB, free: 26.95 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.002028/5.364, allocations: 1.315 MB / 3.029 GB, free: 25.58 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/5.364, allocations: 8.031 kB / 3.029 GB, free: 25.57 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008883/5.365, allocations: 242 kB / 3.029 GB, free: 25.33 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/5.366, allocations: 0.7482 MB / 3.03 GB, free: 24.54 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/5.366, allocations: 120.2 kB / 3.03 GB, free: 24.42 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/5.366, allocations: 119.9 kB / 3.03 GB, free: 24.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/5.368, allocations: 1.231 MB / 3.031 GB, free: 23.01 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/5.368, allocations: 0 / 3.031 GB, free: 23.01 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/5.368, allocations: 56 kB / 3.031 GB, free: 22.95 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/5.368, allocations: 35.95 kB / 3.032 GB, free: 22.92 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001636/5.37, allocations: 1.333 MB / 3.033 GB, free: 21.58 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004834/5.374, allocations: 3.559 MB / 3.036 GB, free: 17.94 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/5.376, allocations: 0.8632 MB / 3.037 GB, free: 17.07 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004172/5.376, allocations: 355.1 kB / 3.037 GB, free: 16.72 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 9.125e-05/5.376, allocations: 36.81 kB / 3.038 GB, free: 16.68 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006876/5.377, allocations: 0.5129 MB / 3.038 GB, free: 16.15 MB / 1.151 GB Notification: Performance of pre-optimization done (n=93): time 3.206e-06/5.377, allocations: 0 / 3.038 GB, free: 16.15 MB / 1.151 GB Notification: Performance of matching and sorting (n=93): time 0.00173/5.378, allocations: 0.8903 MB / 3.039 GB, free: 15.25 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/5.379, allocations: 244.1 kB / 3.039 GB, free: 14.95 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000805/5.379, allocations: 0.6958 MB / 3.04 GB, free: 14.25 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.098e-05/5.379, allocations: 45.7 kB / 3.04 GB, free: 14.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002746/5.38, allocations: 0.5076 MB / 3.04 GB, free: 13.69 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/5.38, allocations: 307.5 kB / 3.041 GB, free: 13.38 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/5.38, allocations: 20 kB / 3.041 GB, free: 13.36 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.58e-05/5.38, allocations: 341.9 kB / 3.041 GB, free: 13.02 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003895/5.38, allocations: 286 kB / 3.041 GB, free: 12.75 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004719/5.381, allocations: 408.3 kB / 3.042 GB, free: 12.31 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004811/5.381, allocations: 356.8 kB / 3.042 GB, free: 11.96 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/5.381, allocations: 0 / 3.042 GB, free: 11.96 MB / 1.151 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001619/5.383, allocations: 0.9345 MB / 3.043 GB, free: 11.02 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/5.383, allocations: 4 kB / 3.043 GB, free: 11.02 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/5.383, allocations: 0 / 3.043 GB, free: 11.02 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005501/5.384, allocations: 84.84 kB / 3.043 GB, free: 10.93 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007186/5.384, allocations: 191.7 kB / 3.043 GB, free: 10.75 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/5.386, allocations: 1.541 MB / 3.045 GB, free: 9.059 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007003/5.387, allocations: 103 kB / 3.045 GB, free: 8.957 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.355e-05/5.387, allocations: 40.03 kB / 3.045 GB, free: 8.918 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.0001705/5.387, allocations: 148.9 kB / 3.045 GB, free: 8.766 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/5.387, allocations: 90.88 kB / 3.045 GB, free: 8.676 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002345/5.389, allocations: 1.278 MB / 3.046 GB, free: 7.383 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/5.389, allocations: 8 kB / 3.046 GB, free: 7.375 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/5.389, allocations: 0 / 3.046 GB, free: 7.375 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/5.389, allocations: 7.969 kB / 3.046 GB, free: 7.367 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003218/5.393, allocations: 2.416 MB / 3.049 GB, free: 4.887 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/5.393, allocations: 4 kB / 3.049 GB, free: 4.883 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006551/5.393, allocations: 179.7 kB / 3.049 GB, free: 4.707 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004598/5.394, allocations: 92.75 kB / 3.049 GB, free: 4.613 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.506e-05/5.394, allocations: 23.98 kB / 3.049 GB, free: 4.59 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/5.395, allocations: 1.556 MB / 3.05 GB, free: 2.898 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/5.395, allocations: 3.953 kB / 3.05 GB, free: 2.895 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/5.397, allocations: 1.07 MB / 3.052 GB, free: 1.805 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004545/5.397, allocations: 351.3 kB / 3.052 GB, free: 1.441 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/5.398, allocations: 23.98 kB / 3.052 GB, free: 1.418 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006567/5.398, allocations: 71.95 kB / 3.052 GB, free: 1.348 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/5.398, allocations: 72.89 kB / 3.052 GB, free: 1.277 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.139e-05/5.398, allocations: 43.91 kB / 3.052 GB, free: 1.234 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006987/5.399, allocations: 0.5812 MB / 3.053 GB, free: 0.6562 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/5.399, allocations: 0 / 3.053 GB, free: 0.6562 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001195/5.4, allocations: 442.8 kB / 3.053 GB, free: 228 kB / 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.6477/6.048, allocations: 1.019 MB / 3.054 GB, free: 385.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002473/6.051, allocations: 0.8875 MB / 3.055 GB, free: 385.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/6.051, allocations: 1.125 kB / 3.055 GB, free: 385.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/6.052, allocations: 0.5681 MB / 3.055 GB, free: 385.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/6.053, allocations: 251.9 kB / 3.056 GB, free: 385.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004524/6.058, allocations: 1.713 MB / 3.057 GB, free: 385.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008307/6.059, allocations: 1.149 MB / 3.058 GB, free: 384.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001242/6.06, allocations: 290.7 kB / 3.059 GB, free: 384.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003696/6.06, allocations: 122.8 kB / 3.059 GB, free: 384.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.042e-06/6.06, allocations: 0 / 3.059 GB, free: 384.4 MB / 1.151 GB Notification: Performance of Templates: time 0.05545/6.116, allocations: 24.92 MB / 3.083 GB, free: 382.9 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