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.275/2.275, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.001075/0.001075, allocations: 173 kB / 492.3 MB, free: 0.5898 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.707/1.707, allocations: 221.3 MB / 0.7871 GB, free: 12.84 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.000966/0.000966, allocations: 99.89 kB / 0.9267 GB, free: 13.91 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.857e-05/3.86e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3594, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.765/5.124, allocations: 1.735 GB / 2.947 GB, free: 129.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/5.125, allocations: 88.77 kB / 2.948 GB, free: 129.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.364/5.489, allocations: 99.68 MB / 3.045 GB, free: 29.76 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.265e-06/5.489, allocations: 7.938 kB / 3.045 GB, free: 29.75 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001697/5.489, allocations: 44 kB / 3.045 GB, free: 29.71 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.005754/5.495, allocations: 1.912 MB / 3.047 GB, free: 27.75 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/5.495, allocations: 12.03 kB / 3.047 GB, free: 27.73 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01282/5.508, allocations: 1.889 MB / 3.049 GB, free: 25.84 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00304/5.511, allocations: 1.056 MB / 3.05 GB, free: 24.74 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/5.511, allocations: 148 kB / 3.05 GB, free: 24.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008915/5.512, allocations: 188 kB / 3.05 GB, free: 24.41 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006695/5.519, allocations: 2.454 MB / 3.052 GB, free: 21.92 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.473e-05/5.519, allocations: 0 / 3.052 GB, free: 21.92 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006045/5.519, allocations: 80 kB / 3.052 GB, free: 21.84 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.251e-05/5.519, allocations: 48 kB / 3.053 GB, free: 21.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005807/5.525, allocations: 2.963 MB / 3.055 GB, free: 18.83 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01785/5.543, allocations: 6.74 MB / 3.062 GB, free: 12.02 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003741/5.547, allocations: 1.999 MB / 3.064 GB, free: 10.01 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001743/5.549, allocations: 1.061 MB / 3.065 GB, free: 8.945 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008037/5.549, allocations: 0.5112 MB / 3.065 GB, free: 8.34 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002276/5.552, allocations: 1.317 MB / 3.067 GB, free: 7.004 MB / 1.151 GB Notification: Performance of pre-optimization done (n=195): time 8.125e-06/5.552, allocations: 0 / 3.067 GB, free: 7.004 MB / 1.151 GB Notification: Performance of matching and sorting (n=195): time 0.00493/5.557, allocations: 2.117 MB / 3.069 GB, free: 4.875 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/5.557, allocations: 253.3 kB / 3.069 GB, free: 4.574 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/5.558, allocations: 0.7902 MB / 3.07 GB, free: 3.758 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002362/5.559, allocations: 57.7 kB / 3.07 GB, free: 3.695 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005488/5.559, allocations: 0.6375 MB / 3.071 GB, free: 3.047 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005591/5.56, allocations: 0.6352 MB / 3.071 GB, free: 2.402 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002191/5.56, allocations: 32 kB / 3.071 GB, free: 2.371 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001323/5.56, allocations: 373.9 kB / 3.072 GB, free: 2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/5.562, allocations: 0.7968 MB / 3.072 GB, free: 1.203 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/5.563, allocations: 0.9775 MB / 3.073 GB, free: 192 kB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7242/6.287, allocations: 0.8411 MB / 3.074 GB, free: 377.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/6.287, allocations: 0 / 3.074 GB, free: 377.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005425/6.293, allocations: 2.16 MB / 3.076 GB, free: 377.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/6.293, allocations: 6.594 kB / 3.076 GB, free: 377.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/6.293, allocations: 2.828 kB / 3.076 GB, free: 377.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006154/6.293, allocations: 85.84 kB / 3.076 GB, free: 377.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003802/6.297, allocations: 0.5761 MB / 3.077 GB, free: 377.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/6.299, allocations: 1.512 MB / 3.078 GB, free: 376 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003303/6.302, allocations: 342.7 kB / 3.079 GB, free: 376 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004373/6.303, allocations: 85.98 kB / 3.079 GB, free: 376 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.0005056/6.303, allocations: 207 kB / 3.079 GB, free: 375.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004046/6.304, allocations: 142.1 kB / 3.079 GB, free: 375.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006801/6.311, allocations: 2.767 MB / 3.082 GB, free: 375.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.24e-05/6.311, allocations: 23.08 kB / 3.082 GB, free: 375.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/6.311, allocations: 4.609 kB / 3.082 GB, free: 375.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.034e-05/6.311, allocations: 10.98 kB / 3.082 GB, free: 375.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009208/6.32, allocations: 4.987 MB / 3.087 GB, free: 375.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/6.32, allocations: 0 / 3.087 GB, free: 375.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003484/6.324, allocations: 0.5506 MB / 3.087 GB, free: 375.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005598/6.324, allocations: 90.97 kB / 3.087 GB, free: 375.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002569/6.324, allocations: 65.67 kB / 3.087 GB, free: 375.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001568/6.326, allocations: 1.545 MB / 3.089 GB, free: 373.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/6.326, allocations: 0.6094 kB / 3.089 GB, free: 373.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004833/6.331, allocations: 2.314 MB / 3.091 GB, free: 373.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001232/6.332, allocations: 0.5442 MB / 3.092 GB, free: 373.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000436/6.333, allocations: 35.64 kB / 3.092 GB, free: 373.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002873/6.335, allocations: 266.5 kB / 3.092 GB, free: 373.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003914/6.336, allocations: 122.7 kB / 3.092 GB, free: 373.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002963/6.336, allocations: 89.22 kB / 3.092 GB, free: 373.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001243/6.337, allocations: 0.6609 MB / 3.093 GB, free: 373.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.7e-07/6.337, allocations: 1.188 kB / 3.093 GB, free: 373.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002507/6.34, allocations: 0.6496 MB / 3.093 GB, free: 373.3 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.002273/6.342, allocations: 1.08 MB / 3.094 GB, free: 373.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004602/6.347, allocations: 2.215 MB / 3.097 GB, free: 373 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/6.347, allocations: 1.562 kB / 3.097 GB, free: 373 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002453/6.349, allocations: 1.288 MB / 3.098 GB, free: 372.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/6.351, allocations: 283.1 kB / 3.098 GB, free: 372.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007612/6.359, allocations: 2.839 MB / 3.101 GB, free: 372.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001877/6.361, allocations: 1.371 MB / 3.102 GB, free: 371.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.005001/6.366, allocations: 0.566 MB / 3.103 GB, free: 371.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001707/6.367, allocations: 212 kB / 3.103 GB, free: 371.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.593e-06/6.367, allocations: 0 / 3.103 GB, free: 371.5 MB / 1.151 GB Notification: Performance of Templates: time 0.05986/6.427, allocations: 34.99 MB / 3.137 GB, free: 369.3 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