Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.471/2.471, allocations: 393.5 MB / 408.4 MB, free: 11.11 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.001492/0.001492, allocations: 183.9 kB / 0.4902 GB, free: 2.301 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.664/1.664, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.001029/0.00103, allocations: 98.78 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003702, allocations: 10.69 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3204, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.585/4.905, allocations: 1.736 GB / 2.965 GB, free: 250.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/4.906, allocations: 92.66 kB / 2.965 GB, free: 250.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.2301/5.136, allocations: 100 MB / 3.063 GB, free: 150.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.807e-06/5.136, allocations: 0 / 3.063 GB, free: 150.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001771/5.136, allocations: 44 kB / 3.063 GB, free: 150.2 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.006582/5.143, allocations: 2.067 MB / 3.065 GB, free: 148.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/5.143, allocations: 8.562 kB / 3.065 GB, free: 148.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01336/5.156, allocations: 1.886 MB / 3.067 GB, free: 146.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003259/5.159, allocations: 1.056 MB / 3.068 GB, free: 145.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001854/5.16, allocations: 152 kB / 3.068 GB, free: 145 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001026/5.161, allocations: 196 kB / 3.068 GB, free: 144.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01139/5.172, allocations: 3.054 MB / 3.071 GB, free: 141.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-05/5.172, allocations: 0 / 3.071 GB, free: 141.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005482/5.173, allocations: 87.98 kB / 3.071 GB, free: 141.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.851e-05/5.173, allocations: 48 kB / 3.071 GB, free: 141.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01269/5.185, allocations: 4.172 MB / 3.075 GB, free: 137.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01811/5.204, allocations: 6.749 MB / 3.082 GB, free: 130.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008491/5.212, allocations: 2.705 MB / 3.085 GB, free: 127.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008442/5.213, allocations: 0.5035 MB / 3.085 GB, free: 127.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004992/5.218, allocations: 1.703 MB / 3.087 GB, free: 125.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=195): time 7.384e-06/5.218, allocations: 0 / 3.087 GB, free: 125.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=195): time 0.01407/5.232, allocations: 4.222 MB / 3.091 GB, free: 121.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/5.232, allocations: 261.3 kB / 3.091 GB, free: 121 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/5.234, allocations: 0.8017 MB / 3.092 GB, free: 120.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002632/5.234, allocations: 61.69 kB / 3.092 GB, free: 120.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000598/5.235, allocations: 0.6452 MB / 3.093 GB, free: 119.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000572/5.235, allocations: 0.6352 MB / 3.093 GB, free: 118.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/5.235, allocations: 28 kB / 3.093 GB, free: 118.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.00012/5.236, allocations: 369.9 kB / 3.094 GB, free: 118.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00368/5.239, allocations: 1.175 MB / 3.095 GB, free: 117.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003663/5.243, allocations: 1.36 MB / 3.096 GB, free: 115.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003656/5.247, allocations: 1.216 MB / 3.097 GB, free: 114.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/5.247, allocations: 4 kB / 3.097 GB, free: 114.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.00872/5.255, allocations: 2.909 MB / 3.1 GB, free: 111.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 4.23e-05/5.255, allocations: 4 kB / 3.1 GB, free: 111.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/5.255, allocations: 4 kB / 3.1 GB, free: 111.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006724/5.256, allocations: 92.77 kB / 3.1 GB, free: 111.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003761/5.26, allocations: 0.5656 MB / 3.101 GB, free: 111 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/5.262, allocations: 1.539 MB / 3.102 GB, free: 109.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003306/5.265, allocations: 346.2 kB / 3.103 GB, free: 109 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004199/5.265, allocations: 91.89 kB / 3.103 GB, free: 108.9 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.001401/5.267, allocations: 391 kB / 3.103 GB, free: 108.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000492/5.267, allocations: 138.3 kB / 3.103 GB, free: 108.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01042/5.278, allocations: 3.519 MB / 3.107 GB, free: 104.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/5.278, allocations: 20 kB / 3.107 GB, free: 104.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/5.278, allocations: 4.109 kB / 3.107 GB, free: 104.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.929e-05/5.278, allocations: 15.89 kB / 3.107 GB, free: 104.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/5.291, allocations: 5.746 MB / 3.112 GB, free: 98.96 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/5.291, allocations: 7.875 kB / 3.112 GB, free: 98.95 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00341/5.294, allocations: 0.55 MB / 3.113 GB, free: 98.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005768/5.295, allocations: 92.66 kB / 3.113 GB, free: 98.31 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002832/5.295, allocations: 71.91 kB / 3.113 GB, free: 98.24 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001746/5.297, allocations: 1.564 MB / 3.114 GB, free: 96.54 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/5.297, allocations: 0 / 3.114 GB, free: 96.54 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009628/5.306, allocations: 3.07 MB / 3.117 GB, free: 93.45 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/5.308, allocations: 0.5413 MB / 3.118 GB, free: 92.89 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005241/5.308, allocations: 36 kB / 3.118 GB, free: 92.85 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003084/5.311, allocations: 267.7 kB / 3.118 GB, free: 92.59 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002795/5.312, allocations: 121.8 kB / 3.118 GB, free: 92.47 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002318/5.312, allocations: 87.91 kB / 3.118 GB, free: 92.39 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001259/5.313, allocations: 0.6774 MB / 3.119 GB, free: 91.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.51e-07/5.313, allocations: 0 / 3.119 GB, free: 91.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002545/5.316, allocations: 0.6467 MB / 3.12 GB, free: 91.05 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.002628/5.319, allocations: 1.113 MB / 3.121 GB, free: 90.11 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00925/5.328, allocations: 2.971 MB / 3.124 GB, free: 87.12 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/5.328, allocations: 0 / 3.124 GB, free: 87.12 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004839/5.333, allocations: 1.669 MB / 3.125 GB, free: 85.45 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/5.335, allocations: 295.8 kB / 3.126 GB, free: 85.16 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/5.345, allocations: 4.63 MB / 3.13 GB, free: 80.51 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/5.346, allocations: 1.373 MB / 3.132 GB, free: 79.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00451/5.351, allocations: 0.5662 MB / 3.132 GB, free: 78.53 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001389/5.352, allocations: 211.2 kB / 3.132 GB, free: 78.32 MB / 1.167 GB Notification: Performance of SimCode: time 1.232e-06/5.352, allocations: 0 / 3.132 GB, free: 78.32 MB / 1.167 GB Notification: Performance of Templates: time 0.05159/5.404, allocations: 33.32 MB / 3.165 GB, free: 45.11 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches