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.219/2.219, allocations: 387.1 MB / 399.7 MB, free: 9.488 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: 172.8 kB / 492.3 MB, free: 0.6406 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.503/1.503, allocations: 221.3 MB / 0.7872 GB, free: 12.95 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.001006/0.001006, allocations: 87.91 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.68e-05/3.681e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.2991, allocations: 142.3 MB / 1.212 GB, free: 38.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.031/5.33, allocations: 1.736 GB / 2.948 GB, free: 129.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/5.33, allocations: 88.64 kB / 2.948 GB, free: 129.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.2581/5.588, allocations: 119.1 MB / 3.064 GB, free: 9.941 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.885e-06/5.588, allocations: 0 / 3.064 GB, free: 9.941 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001391/5.588, allocations: 63.94 kB / 3.065 GB, free: 9.879 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.004965/5.593, allocations: 2.217 MB / 3.067 GB, free: 7.602 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.493e-05/5.593, allocations: 16.03 kB / 3.067 GB, free: 7.586 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01251/5.606, allocations: 1.94 MB / 3.069 GB, free: 5.641 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003582/5.61, allocations: 1.328 MB / 3.07 GB, free: 4.27 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/5.61, allocations: 185 kB / 3.07 GB, free: 4.086 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004547/5.61, allocations: 240 kB / 3.07 GB, free: 3.852 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0054/5.616, allocations: 3.049 MB / 3.073 GB, free: 0.7188 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.246e-05/5.616, allocations: 0 / 3.073 GB, free: 0.7188 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002905/5.616, allocations: 100 kB / 3.073 GB, free: 0.6211 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-05/5.616, allocations: 60 kB / 3.073 GB, free: 0.5625 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.8757/6.492, allocations: 3.538 MB / 3.077 GB, free: 366.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02819/6.52, allocations: 8.835 MB / 3.086 GB, free: 365.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004738/6.525, allocations: 2.371 MB / 3.088 GB, free: 365.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002488/6.527, allocations: 1.246 MB / 3.089 GB, free: 365.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008903/6.528, allocations: 0.5127 MB / 3.09 GB, free: 365 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003252/6.531, allocations: 1.53 MB / 3.091 GB, free: 364.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=222): time 5.922e-06/6.531, allocations: 0 / 3.091 GB, free: 364.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=222): time 0.006676/6.538, allocations: 2.502 MB / 3.093 GB, free: 364.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/6.538, allocations: 260 kB / 3.094 GB, free: 364.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002121/6.54, allocations: 0.9909 MB / 3.095 GB, free: 364.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002969/6.541, allocations: 63.89 kB / 3.095 GB, free: 364.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009486/6.542, allocations: 0.8118 MB / 3.096 GB, free: 363.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008312/6.543, allocations: 0.7256 MB / 3.096 GB, free: 363.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/6.543, allocations: 36.09 kB / 3.096 GB, free: 363.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001636/6.543, allocations: 378.2 kB / 3.097 GB, free: 363.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002102/6.545, allocations: 0.9719 MB / 3.098 GB, free: 363.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002193/6.547, allocations: 1.168 MB / 3.099 GB, free: 363.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002167/6.549, allocations: 1.034 MB / 3.1 GB, free: 363.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/6.549, allocations: 0.7969 kB / 3.1 GB, free: 363.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.006101/6.556, allocations: 2.584 MB / 3.102 GB, free: 362.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/6.556, allocations: 5.188 kB / 3.102 GB, free: 362.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/6.556, allocations: 3.125 kB / 3.102 GB, free: 362.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000606/6.556, allocations: 88.45 kB / 3.102 GB, free: 362.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003904/6.56, allocations: 0.6205 MB / 3.103 GB, free: 362.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001991/6.562, allocations: 1.52 MB / 3.104 GB, free: 361.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003676/6.566, allocations: 369.1 kB / 3.105 GB, free: 361.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004465/6.566, allocations: 98.56 kB / 3.105 GB, free: 361.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.0006376/6.567, allocations: 214.9 kB / 3.105 GB, free: 361.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005505/6.568, allocations: 167.2 kB / 3.105 GB, free: 361.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00845/6.576, allocations: 3.26 MB / 3.108 GB, free: 360.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.317e-05/6.576, allocations: 23.22 kB / 3.108 GB, free: 360.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/6.576, allocations: 3.953 kB / 3.108 GB, free: 360.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.247e-05/6.576, allocations: 14.72 kB / 3.108 GB, free: 360.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01371/6.59, allocations: 6.187 MB / 3.115 GB, free: 357.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/6.59, allocations: 3.953 kB / 3.115 GB, free: 357.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004038/6.594, allocations: 0.6019 MB / 3.115 GB, free: 357.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006218/6.595, allocations: 89.44 kB / 3.115 GB, free: 357.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004259/6.595, allocations: 77.89 kB / 3.115 GB, free: 357.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001911/6.597, allocations: 1.536 MB / 3.117 GB, free: 356.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/6.597, allocations: 0 / 3.117 GB, free: 356.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007333/6.604, allocations: 2.69 MB / 3.119 GB, free: 355.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002034/6.606, allocations: 0.6775 MB / 3.12 GB, free: 354.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007878/6.607, allocations: 41.56 kB / 3.12 GB, free: 354.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003422/6.611, allocations: 271.9 kB / 3.12 GB, free: 354.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004435/6.611, allocations: 141.7 kB / 3.121 GB, free: 354.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003438/6.612, allocations: 90.19 kB / 3.121 GB, free: 354.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002551/6.614, allocations: 0.8468 MB / 3.121 GB, free: 354.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.11e-07/6.614, allocations: 0 / 3.121 GB, free: 354.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004778/6.619, allocations: 0.7418 MB / 3.122 GB, free: 354.1 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.00353/6.622, allocations: 1.096 MB / 3.123 GB, free: 353.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.006013/6.628, allocations: 2.59 MB / 3.126 GB, free: 352.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/6.629, allocations: 0 / 3.126 GB, free: 352.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.003223/6.632, allocations: 1.474 MB / 3.127 GB, free: 352.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002654/6.634, allocations: 311.1 kB / 3.127 GB, free: 352.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009828/6.644, allocations: 3.451 MB / 3.131 GB, free: 350.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001822/6.646, allocations: 1.541 MB / 3.132 GB, free: 349.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.006012/6.652, allocations: 0.594 MB / 3.133 GB, free: 349.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002196/6.654, allocations: 253.3 kB / 3.133 GB, free: 349.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.773e-06/6.654, allocations: 0 / 3.133 GB, free: 349.7 MB / 1.151 GB Notification: Performance of Templates: time 0.07587/6.73, allocations: 39.39 MB / 3.172 GB, free: 347.3 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