Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.594/2.594, allocations: 393.5 MB / 408.4 MB, free: 11.09 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.001537/0.001537, allocations: 183.9 kB / 0.4902 GB, free: 2.301 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.684/1.684, allocations: 223.2 MB / 0.7992 GB, free: 14.64 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.001256/0.001256, allocations: 98.92 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004259/0.0004259, allocations: 6.812 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3948, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.773/5.168, allocations: 1.734 GB / 2.963 GB, free: 216.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004927/5.168, allocations: 92.14 kB / 2.963 GB, free: 216.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.2197/5.388, allocations: 84.4 MB / 3.046 GB, free: 143.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.968e-06/5.388, allocations: 0 / 3.046 GB, free: 143.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001543/5.388, allocations: 27.94 kB / 3.046 GB, free: 143.5 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: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.00481/5.393, allocations: 1.454 MB / 3.047 GB, free: 142.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/5.393, allocations: 8.562 kB / 3.047 GB, free: 142.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001638/5.395, allocations: 226 kB / 3.047 GB, free: 141.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002325/5.397, allocations: 0.7536 MB / 3.048 GB, free: 141.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001873/5.397, allocations: 128 kB / 3.048 GB, free: 141.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002093/5.398, allocations: 119.9 kB / 3.048 GB, free: 141 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003123/5.401, allocations: 1.274 MB / 3.05 GB, free: 140.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.647e-05/5.401, allocations: 0 / 3.05 GB, free: 140.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001725/5.401, allocations: 54.08 kB / 3.05 GB, free: 140.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.523e-05/5.401, allocations: 32 kB / 3.05 GB, free: 140 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003226/5.404, allocations: 1.393 MB / 3.051 GB, free: 139 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008017/5.412, allocations: 3.555 MB / 3.054 GB, free: 136.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002129/5.414, allocations: 0.9086 MB / 3.055 GB, free: 135.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/5.415, allocations: 40.3 kB / 3.055 GB, free: 135.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001305/5.416, allocations: 0.5453 MB / 3.056 GB, free: 135.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=93): time 4.298e-06/5.416, allocations: 0 / 3.056 GB, free: 135.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=93): time 0.004966/5.421, allocations: 1.395 MB / 3.057 GB, free: 134.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/5.421, allocations: 249.4 kB / 3.058 GB, free: 133.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001585/5.423, allocations: 0.7088 MB / 3.058 GB, free: 133.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001272/5.423, allocations: 43.02 kB / 3.058 GB, free: 133.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006393/5.423, allocations: 0.5131 MB / 3.059 GB, free: 132.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003245/5.424, allocations: 301.2 kB / 3.059 GB, free: 132.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.269e-05/5.424, allocations: 15.81 kB / 3.059 GB, free: 132.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001083/5.424, allocations: 343.2 kB / 3.059 GB, free: 132.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008528/5.425, allocations: 307.8 kB / 3.06 GB, free: 132.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/5.426, allocations: 444.5 kB / 3.06 GB, free: 131.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/5.427, allocations: 367.5 kB / 3.06 GB, free: 131.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/5.427, allocations: 0 / 3.06 GB, free: 131.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.003243/5.43, allocations: 0.9806 MB / 3.061 GB, free: 130.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.219e-05/5.43, allocations: 9.719 kB / 3.061 GB, free: 130.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/5.43, allocations: 0 / 3.061 GB, free: 130.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008822/5.431, allocations: 87.77 kB / 3.062 GB, free: 130.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/5.432, allocations: 187.6 kB / 3.062 GB, free: 130.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002568/5.435, allocations: 1.553 MB / 3.063 GB, free: 129.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/5.436, allocations: 103.7 kB / 3.063 GB, free: 129 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/5.436, allocations: 44.16 kB / 3.063 GB, free: 129 MB / 1.167 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 () * Number of clocked 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.001024/5.437, allocations: 305.7 kB / 3.064 GB, free: 128.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002719/5.438, allocations: 94.88 kB / 3.064 GB, free: 128.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004233/5.442, allocations: 1.312 MB / 3.065 GB, free: 127.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/5.442, allocations: 12 kB / 3.065 GB, free: 127.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/5.442, allocations: 0 / 3.065 GB, free: 127.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/5.442, allocations: 3.984 kB / 3.065 GB, free: 127.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005664/5.448, allocations: 2.459 MB / 3.067 GB, free: 125.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/5.448, allocations: 4 kB / 3.067 GB, free: 125.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/5.449, allocations: 183.7 kB / 3.068 GB, free: 124.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007627/5.45, allocations: 88.77 kB / 3.068 GB, free: 124.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.725e-05/5.45, allocations: 23.98 kB / 3.068 GB, free: 124.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002294/5.452, allocations: 1.579 MB / 3.069 GB, free: 123.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/5.452, allocations: 4.062 kB / 3.069 GB, free: 123.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003161/5.455, allocations: 1.113 MB / 3.07 GB, free: 121.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007909/5.456, allocations: 359.2 kB / 3.071 GB, free: 121.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/5.456, allocations: 20 kB / 3.071 GB, free: 121.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/5.457, allocations: 75.94 kB / 3.071 GB, free: 121.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001948/5.458, allocations: 72.89 kB / 3.071 GB, free: 121.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/5.458, allocations: 35.98 kB / 3.071 GB, free: 121.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001185/5.459, allocations: 0.5888 MB / 3.071 GB, free: 120.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.6e-07/5.459, allocations: 4 kB / 3.071 GB, free: 120.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001949/5.461, allocations: 442.8 kB / 3.072 GB, free: 120.3 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) * Number of clocked states: 0 () * 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.002809/5.464, allocations: 1.069 MB / 3.073 GB, free: 119.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002685/5.466, allocations: 0.9328 MB / 3.074 GB, free: 118.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/5.466, allocations: 7.938 kB / 3.074 GB, free: 118.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001401/5.468, allocations: 0.5822 MB / 3.074 GB, free: 117.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/5.47, allocations: 254.8 kB / 3.075 GB, free: 117.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006855/5.477, allocations: 2.73 MB / 3.077 GB, free: 114.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007499/5.478, allocations: 1.154 MB / 3.078 GB, free: 113.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001694/5.479, allocations: 283.7 kB / 3.079 GB, free: 113.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004697/5.48, allocations: 123.4 kB / 3.079 GB, free: 113.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.302e-06/5.48, allocations: 0 / 3.079 GB, free: 113.3 MB / 1.167 GB Notification: Performance of Templates: time 0.05394/5.534, allocations: 23.26 MB / 3.102 GB, free: 90.15 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches