Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.307/2.307, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001079/0.001079, allocations: 180.8 kB / 487.4 MB, free: 5.039 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.603/1.603, allocations: 221.5 MB / 0.7824 GB, free: 1.016 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.0009564/0.0009564, allocations: 102.1 kB / 0.9219 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.99e-05/1.991e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3477, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.681/5.029, allocations: 1.734 GB / 2.94 GB, free: 149.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/5.029, allocations: 87.95 kB / 2.94 GB, free: 149.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.2178/5.247, allocations: 98.76 MB / 3.037 GB, free: 50.46 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.394e-06/5.247, allocations: 3.938 kB / 3.037 GB, free: 50.46 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001371/5.247, allocations: 44 kB / 3.037 GB, free: 50.42 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: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.004718/5.252, allocations: 1.904 MB / 3.039 GB, free: 48.46 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/5.252, allocations: 16.02 kB / 3.039 GB, free: 48.45 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0123/5.265, allocations: 1.882 MB / 3.041 GB, free: 46.56 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002748/5.267, allocations: 1.056 MB / 3.042 GB, free: 45.46 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/5.267, allocations: 68 kB / 3.042 GB, free: 45.39 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008087/5.268, allocations: 112 kB / 3.042 GB, free: 45.28 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005657/5.274, allocations: 2.866 MB / 3.045 GB, free: 42.41 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00527/5.279, allocations: 2.169 MB / 3.047 GB, free: 40.21 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.114e-05/5.279, allocations: 0 / 3.047 GB, free: 40.21 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004283/5.28, allocations: 11.92 kB / 3.047 GB, free: 40.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.141e-05/5.28, allocations: 48 kB / 3.047 GB, free: 40.15 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01487/5.295, allocations: 6.387 MB / 3.053 GB, free: 33.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002868/5.298, allocations: 1.892 MB / 3.055 GB, free: 31.79 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0014/5.299, allocations: 1.009 MB / 3.056 GB, free: 30.78 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007059/5.3, allocations: 0.4996 MB / 3.056 GB, free: 30.18 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001885/5.302, allocations: 1.266 MB / 3.058 GB, free: 28.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=195): time 5.861e-06/5.302, allocations: 4 kB / 3.058 GB, free: 28.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=195): time 0.01386/5.316, allocations: 3.651 MB / 3.061 GB, free: 25.23 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.55e-05/5.316, allocations: 253.3 kB / 3.061 GB, free: 24.93 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/5.317, allocations: 0.641 MB / 3.062 GB, free: 24.29 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000438/5.318, allocations: 25.7 kB / 3.062 GB, free: 24.25 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006218/5.318, allocations: 0.6564 MB / 3.063 GB, free: 23.59 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006722/5.319, allocations: 0.604 MB / 3.063 GB, free: 22.97 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002358/5.319, allocations: 0 / 3.063 GB, free: 22.97 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0002193/5.319, allocations: 422.7 kB / 3.064 GB, free: 22.55 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/5.321, allocations: 0.7655 MB / 3.064 GB, free: 21.79 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001493/5.322, allocations: 0.9462 MB / 3.065 GB, free: 20.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009181/5.331, allocations: 2.457 MB / 3.068 GB, free: 18.35 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.762e-05/5.331, allocations: 0 / 3.068 GB, free: 18.35 MB / 1.151 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01357/5.345, allocations: 3.683 MB / 3.071 GB, free: 14.65 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/5.345, allocations: 8 kB / 3.071 GB, free: 14.64 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/5.345, allocations: 0 / 3.071 GB, free: 14.64 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005796/5.346, allocations: 88.83 kB / 3.071 GB, free: 14.55 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00359/5.349, allocations: 0.5695 MB / 3.072 GB, free: 13.98 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001629/5.351, allocations: 1.458 MB / 3.073 GB, free: 12.41 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003222/5.354, allocations: 290.6 kB / 3.074 GB, free: 12.12 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005776/5.355, allocations: 83.91 kB / 3.074 GB, free: 12.04 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 (206): * Single equations (assignments): 205 * 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.0008687/5.356, allocations: 139.5 kB / 3.074 GB, free: 11.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006385/5.356, allocations: 138.3 kB / 3.074 GB, free: 11.76 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01562/5.372, allocations: 4.255 MB / 3.078 GB, free: 7.484 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.209e-05/5.372, allocations: 20 kB / 3.078 GB, free: 7.465 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/5.372, allocations: 0 / 3.078 GB, free: 7.465 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.898e-05/5.372, allocations: 7.969 kB / 3.078 GB, free: 7.457 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01815/5.39, allocations: 6.274 MB / 3.084 GB, free: 1.133 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/5.39, allocations: 0 / 3.084 GB, free: 1.133 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00358/5.394, allocations: 0.55 MB / 3.085 GB, free: 0.582 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00053/5.394, allocations: 88.77 kB / 3.085 GB, free: 0.4922 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004694/5.395, allocations: 47.92 kB / 3.085 GB, free: 456 kB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7039/6.099, allocations: 1.467 MB / 3.086 GB, free: 379.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/6.099, allocations: 1.094 kB / 3.086 GB, free: 379.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01425/6.113, allocations: 3.841 MB / 3.09 GB, free: 379.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/6.114, allocations: 0.5316 MB / 3.091 GB, free: 379.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000287/6.115, allocations: 3.281 kB / 3.091 GB, free: 379.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002697/6.117, allocations: 230.8 kB / 3.091 GB, free: 379.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002935/6.118, allocations: 130.1 kB / 3.091 GB, free: 379.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002191/6.118, allocations: 82.41 kB / 3.091 GB, free: 379.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008945/6.119, allocations: 0.534 MB / 3.092 GB, free: 379.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.51e-07/6.119, allocations: 1.406 kB / 3.092 GB, free: 379.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002478/6.121, allocations: 0.5851 MB / 3.092 GB, free: 379.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 (210): * Single equations (assignments): 207 * 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.002281/6.123, allocations: 1.119 MB / 3.093 GB, free: 379 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003782/6.127, allocations: 2.119 MB / 3.095 GB, free: 378.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/6.127, allocations: 1.094 kB / 3.095 GB, free: 378.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001964/6.129, allocations: 1.236 MB / 3.097 GB, free: 378.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/6.131, allocations: 243.7 kB / 3.097 GB, free: 378.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005995/6.137, allocations: 2.713 MB / 3.1 GB, free: 378.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/6.138, allocations: 1.371 MB / 3.101 GB, free: 377.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.004383/6.142, allocations: 0.5433 MB / 3.101 GB, free: 377.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001216/6.144, allocations: 210.2 kB / 3.102 GB, free: 377.4 MB / 1.151 GB Notification: Performance of SimCode: time 2.866e-06/6.144, allocations: 0 / 3.102 GB, free: 377.4 MB / 1.151 GB Notification: Performance of Templates: time 0.05492/6.199, allocations: 28.06 MB / 3.129 GB, free: 375.6 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches