Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.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.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HGloRoo.H|HGloWal.H|HGloFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HGloRoo.H|HGloWal.H|HGloFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.529/2.529, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001358/0.001358, allocations: 188.7 kB / 487.4 MB, free: 5.047 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.668/1.668, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 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.001002/0.001002, allocations: 100.6 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.701e-05/2.703e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3185, allocations: 142.3 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.938/5.256, allocations: 1.735 GB / 2.941 GB, free: 148.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/5.257, allocations: 85.11 kB / 2.941 GB, free: 148.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.2529/5.51, allocations: 118.1 MB / 3.056 GB, free: 30.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.843e-06/5.51, allocations: 0 / 3.056 GB, free: 30.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001068/5.51, allocations: 52 kB / 3.056 GB, free: 30.05 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: 640 * Number of variables: 640 Notification: Performance of Generate backend data structure: time 0.004177/5.514, allocations: 2.228 MB / 3.059 GB, free: 27.76 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/5.514, allocations: 8.031 kB / 3.059 GB, free: 27.75 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01267/5.527, allocations: 1.944 MB / 3.061 GB, free: 25.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003064/5.53, allocations: 1.328 MB / 3.062 GB, free: 24.43 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.379e-05/5.53, allocations: 80 kB / 3.062 GB, free: 24.35 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003209/5.53, allocations: 152 kB / 3.062 GB, free: 24.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005615/5.536, allocations: 3.407 MB / 3.065 GB, free: 20.79 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004477/5.54, allocations: 2.692 MB / 3.068 GB, free: 18.02 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.328e-05/5.54, allocations: 4 kB / 3.068 GB, free: 18.01 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002443/5.541, allocations: 3.938 kB / 3.068 GB, free: 18.01 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.261e-05/5.541, allocations: 60 kB / 3.068 GB, free: 17.95 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01655/5.557, allocations: 8.394 MB / 3.076 GB, free: 9.48 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00285/5.56, allocations: 2.249 MB / 3.078 GB, free: 7.219 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001453/5.562, allocations: 1.177 MB / 3.08 GB, free: 6.039 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007047/5.562, allocations: 0.5114 MB / 3.08 GB, free: 5.434 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001918/5.564, allocations: 1.473 MB / 3.082 GB, free: 3.945 MB / 1.151 GB Notification: Performance of pre-optimization done (n=222): time 3.557e-06/5.564, allocations: 4 kB / 3.082 GB, free: 3.941 MB / 1.151 GB Notification: Performance of matching and sorting (n=222): time 0.8927/6.457, allocations: 4.04 MB / 3.085 GB, free: 373.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001637/6.457, allocations: 258 kB / 3.086 GB, free: 373.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002163/6.459, allocations: 0.771 MB / 3.086 GB, free: 373 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0009463/6.46, allocations: 27.17 kB / 3.087 GB, free: 373 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.00109/6.461, allocations: 0.8345 MB / 3.087 GB, free: 372.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001374/6.463, allocations: 0.6933 MB / 3.088 GB, free: 372.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/6.463, allocations: 1.219 kB / 3.088 GB, free: 372.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001844/6.463, allocations: 380.9 kB / 3.088 GB, free: 372.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002036/6.465, allocations: 0.9322 MB / 3.089 GB, free: 372.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002096/6.467, allocations: 1.122 MB / 3.09 GB, free: 372 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.012/6.479, allocations: 2.675 MB / 3.093 GB, free: 372 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.157e-05/6.479, allocations: 3.125 kB / 3.093 GB, free: 372 MB / 1.151 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01676/6.496, allocations: 4.111 MB / 3.097 GB, free: 371.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.398e-05/6.496, allocations: 5.5 kB / 3.097 GB, free: 371.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/6.496, allocations: 2.781 kB / 3.097 GB, free: 371.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006624/6.497, allocations: 94.28 kB / 3.097 GB, free: 371.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004514/6.501, allocations: 0.6209 MB / 3.098 GB, free: 371.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001998/6.504, allocations: 1.464 MB / 3.099 GB, free: 370.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004164/6.508, allocations: 307.5 kB / 3.099 GB, free: 370.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000828/6.509, allocations: 101.9 kB / 3.1 GB, free: 370.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (239): * Single equations (assignments): 238 * 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.0006178/6.509, allocations: 132.1 kB / 3.1 GB, free: 370.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006325/6.51, allocations: 151.2 kB / 3.1 GB, free: 370.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01926/6.529, allocations: 4.754 MB / 3.104 GB, free: 370.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.086e-05/6.529, allocations: 23.62 kB / 3.104 GB, free: 370.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.817e-05/6.529, allocations: 2.375 kB / 3.104 GB, free: 370.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.507e-05/6.529, allocations: 13.61 kB / 3.104 GB, free: 370.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02719/6.557, allocations: 7.409 MB / 3.112 GB, free: 369.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.98e-05/6.557, allocations: 0.6875 kB / 3.112 GB, free: 369.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004779/6.561, allocations: 0.6017 MB / 3.112 GB, free: 369.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006568/6.562, allocations: 88.55 kB / 3.112 GB, free: 369.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009143/6.563, allocations: 48.44 kB / 3.112 GB, free: 369.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002026/6.565, allocations: 1.486 MB / 3.114 GB, free: 368.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/6.565, allocations: 0 / 3.114 GB, free: 368.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01976/6.585, allocations: 4.219 MB / 3.118 GB, free: 368.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002663/6.588, allocations: 0.6588 MB / 3.119 GB, free: 368.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001223/6.589, allocations: 2.141 kB / 3.119 GB, free: 368.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004126/6.593, allocations: 234.3 kB / 3.119 GB, free: 368.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007945/6.594, allocations: 142.4 kB / 3.119 GB, free: 368.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007022/6.595, allocations: 91.88 kB / 3.119 GB, free: 368.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002015/6.597, allocations: 0.6599 MB / 3.12 GB, free: 367.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.944e-06/6.597, allocations: 0 / 3.12 GB, free: 367.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005154/6.602, allocations: 0.6889 MB / 3.12 GB, free: 367.9 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 (240): * Single equations (assignments): 237 * 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.00431/6.606, allocations: 1.123 MB / 3.122 GB, free: 367.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.007693/6.614, allocations: 2.485 MB / 3.124 GB, free: 367.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/6.614, allocations: 3.625 kB / 3.124 GB, free: 367.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.004209/6.618, allocations: 1.416 MB / 3.125 GB, free: 367.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002807/6.621, allocations: 257.5 kB / 3.126 GB, free: 367.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/6.632, allocations: 3.318 MB / 3.129 GB, free: 366.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001923/6.634, allocations: 1.534 MB / 3.13 GB, free: 365.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.005989/6.64, allocations: 0.5899 MB / 3.131 GB, free: 365.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002312/6.642, allocations: 238.4 kB / 3.131 GB, free: 365.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.743e-06/6.642, allocations: 0 / 3.131 GB, free: 365.1 MB / 1.151 GB Notification: Performance of Templates: time 0.06364/6.706, allocations: 31.97 MB / 3.162 GB, free: 362.9 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches