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.384/2.384, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001097/0.001097, allocations: 183.3 kB / 498.1 MB, free: 5.742 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.763/1.763, allocations: 223.2 MB / 0.7948 GB, free: 17.88 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.001135/0.001135, allocations: 96.33 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005023/0.0005027, allocations: 14.22 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4214, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.394/4.815, allocations: 1.735 GB / 2.958 GB, free: 284 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003259/4.816, allocations: 93.52 kB / 2.958 GB, free: 283.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.2161/5.032, allocations: 100 MB / 3.056 GB, free: 183.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.649e-06/5.032, allocations: 0 / 3.056 GB, free: 183.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001009/5.032, allocations: 51.92 kB / 3.056 GB, free: 183.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: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.004327/5.036, allocations: 2.063 MB / 3.058 GB, free: 181.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/5.036, allocations: 8.031 kB / 3.058 GB, free: 181.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01264/5.049, allocations: 1.893 MB / 3.06 GB, free: 179.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003574/5.053, allocations: 1.052 MB / 3.061 GB, free: 178.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001463/5.053, allocations: 148 kB / 3.061 GB, free: 178.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004366/5.053, allocations: 192 kB / 3.061 GB, free: 178.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008147/5.061, allocations: 3.054 MB / 3.064 GB, free: 175 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.243e-05/5.062, allocations: 0 / 3.064 GB, free: 175 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002429/5.062, allocations: 87.94 kB / 3.064 GB, free: 174.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.483e-05/5.062, allocations: 48 kB / 3.064 GB, free: 174.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01087/5.073, allocations: 4.172 MB / 3.068 GB, free: 170.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01386/5.087, allocations: 6.741 MB / 3.075 GB, free: 163.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007285/5.094, allocations: 2.708 MB / 3.077 GB, free: 161.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007531/5.095, allocations: 0.5074 MB / 3.078 GB, free: 160.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0044/5.099, allocations: 1.703 MB / 3.08 GB, free: 158.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=195): time 4.369e-06/5.099, allocations: 3.938 kB / 3.08 GB, free: 158.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=195): time 0.01294/5.112, allocations: 4.23 MB / 3.084 GB, free: 154.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.245e-05/5.112, allocations: 253.3 kB / 3.084 GB, free: 154.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/5.114, allocations: 0.8018 MB / 3.085 GB, free: 153.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002692/5.114, allocations: 57.7 kB / 3.085 GB, free: 153.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005014/5.114, allocations: 0.6451 MB / 3.085 GB, free: 152.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004994/5.115, allocations: 0.6275 MB / 3.086 GB, free: 152.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/5.115, allocations: 32 kB / 3.086 GB, free: 152 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001008/5.115, allocations: 377.9 kB / 3.086 GB, free: 151.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003629/5.119, allocations: 1.171 MB / 3.088 GB, free: 150.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003882/5.123, allocations: 1.36 MB / 3.089 GB, free: 149.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003751/5.126, allocations: 1.216 MB / 3.09 GB, free: 147.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/5.127, allocations: 4 kB / 3.09 GB, free: 147.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.008799/5.135, allocations: 2.913 MB / 3.093 GB, free: 144.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/5.135, allocations: 4.938 kB / 3.093 GB, free: 144.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/5.135, allocations: 4 kB / 3.093 GB, free: 144.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006305/5.136, allocations: 88.83 kB / 3.093 GB, free: 144.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003722/5.14, allocations: 0.5617 MB / 3.094 GB, free: 144.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/5.142, allocations: 1.533 MB / 3.095 GB, free: 142.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003476/5.145, allocations: 346.2 kB / 3.095 GB, free: 142.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006321/5.146, allocations: 83.98 kB / 3.096 GB, free: 142.2 MB / 1.167 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 () * Number of clocked 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.002222/5.148, allocations: 391.5 kB / 3.096 GB, free: 141.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009767/5.149, allocations: 146.3 kB / 3.096 GB, free: 141.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01188/5.161, allocations: 3.526 MB / 3.099 GB, free: 138.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/5.161, allocations: 27.98 kB / 3.099 GB, free: 138.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/5.161, allocations: 0 / 3.099 GB, free: 138.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.204e-05/5.161, allocations: 11.95 kB / 3.099 GB, free: 138.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01414/5.175, allocations: 5.746 MB / 3.105 GB, free: 132.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/5.175, allocations: 4 kB / 3.105 GB, free: 132.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0035/5.179, allocations: 0.55 MB / 3.106 GB, free: 131.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005508/5.179, allocations: 84.78 kB / 3.106 GB, free: 131.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000334/5.18, allocations: 67.92 kB / 3.106 GB, free: 131.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001732/5.181, allocations: 1.567 MB / 3.107 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/5.182, allocations: 4.062 kB / 3.107 GB, free: 129.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009514/5.191, allocations: 3.066 MB / 3.11 GB, free: 126.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/5.192, allocations: 0.5491 MB / 3.111 GB, free: 126.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005227/5.193, allocations: 40 kB / 3.111 GB, free: 126.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002928/5.196, allocations: 267.7 kB / 3.111 GB, free: 125.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002819/5.196, allocations: 129.8 kB / 3.111 GB, free: 125.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002441/5.196, allocations: 87.91 kB / 3.111 GB, free: 125.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001169/5.198, allocations: 0.6696 MB / 3.112 GB, free: 125 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.01e-07/5.198, allocations: 0 / 3.112 GB, free: 125 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002522/5.2, allocations: 0.6544 MB / 3.113 GB, free: 124.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 (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.002571/5.203, allocations: 1.125 MB / 3.114 GB, free: 123.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.009162/5.212, allocations: 2.964 MB / 3.117 GB, free: 120.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/5.212, allocations: 4 kB / 3.117 GB, free: 120.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004773/5.217, allocations: 1.661 MB / 3.118 GB, free: 118.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/5.219, allocations: 280.2 kB / 3.119 GB, free: 118.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/5.229, allocations: 4.638 MB / 3.123 GB, free: 113.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/5.23, allocations: 1.369 MB / 3.124 GB, free: 112.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004653/5.235, allocations: 0.5661 MB / 3.125 GB, free: 111.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001476/5.236, allocations: 211.2 kB / 3.125 GB, free: 111.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.443e-06/5.236, allocations: 0 / 3.125 GB, free: 111.6 MB / 1.167 GB Notification: Performance of Templates: time 0.05191/5.288, allocations: 33.34 MB / 3.158 GB, free: 78.39 MB / 1.167 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