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.395/2.395, allocations: 390.5 MB / 398 MB, free: 10.94 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.001213/0.001213, allocations: 180.8 kB / 491.2 MB, free: 1.562 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.652/1.652, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.001031/0.001031, allocations: 87.47 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.437e-05/2.44e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3233, allocations: 143 MB / 1.212 GB, free: 39.56 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.538/5.862, allocations: 1.735 GB / 2.948 GB, free: 115 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/5.862, allocations: 84.14 kB / 2.948 GB, free: 114.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.2114/6.073, allocations: 98.76 MB / 3.044 GB, free: 21.73 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.856e-06/6.073, allocations: 0 / 3.044 GB, free: 21.73 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000121/6.074, allocations: 48 kB / 3.044 GB, free: 21.69 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.004254/6.078, allocations: 1.916 MB / 3.046 GB, free: 19.72 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.093e-05/6.078, allocations: 12.03 kB / 3.046 GB, free: 19.71 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/6.09, allocations: 1.893 MB / 3.048 GB, free: 17.81 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002692/6.093, allocations: 1.044 MB / 3.049 GB, free: 16.72 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.225e-05/6.093, allocations: 67.94 kB / 3.049 GB, free: 16.65 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002977/6.093, allocations: 119.9 kB / 3.049 GB, free: 16.54 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004521/6.098, allocations: 2.854 MB / 3.052 GB, free: 13.68 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003373/6.101, allocations: 2.169 MB / 3.054 GB, free: 11.47 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.566e-05/6.101, allocations: 4 kB / 3.054 GB, free: 11.47 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002047/6.102, allocations: 0 / 3.054 GB, free: 11.47 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.669e-05/6.102, allocations: 48 kB / 3.054 GB, free: 11.42 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01324/6.115, allocations: 6.384 MB / 3.06 GB, free: 4.977 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002357/6.117, allocations: 1.892 MB / 3.062 GB, free: 3.066 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/6.118, allocations: 1.003 MB / 3.063 GB, free: 2.066 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006844/6.119, allocations: 0.5073 MB / 3.064 GB, free: 1.465 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00165/6.121, allocations: 1.274 MB / 3.065 GB, free: 176 kB / 1.151 GB Notification: Performance of pre-optimization done (n=195): time 4.098e-06/6.121, allocations: 0 / 3.065 GB, free: 176 kB / 1.151 GB Notification: Performance of matching and sorting (n=195): time 0.8892/7.01, allocations: 3.645 MB / 3.068 GB, free: 378.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/7.01, allocations: 253.1 kB / 3.069 GB, free: 377.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/7.012, allocations: 0.6371 MB / 3.069 GB, free: 377.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000199/7.012, allocations: 33.72 kB / 3.069 GB, free: 377.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006984/7.012, allocations: 0.6478 MB / 3.07 GB, free: 377.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006106/7.013, allocations: 0.6022 MB / 3.07 GB, free: 377.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/7.013, allocations: 0 / 3.07 GB, free: 377.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0002035/7.013, allocations: 423 kB / 3.071 GB, free: 376.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001466/7.015, allocations: 0.7664 MB / 3.072 GB, free: 376.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001583/7.016, allocations: 0.9421 MB / 3.073 GB, free: 376.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01036/7.027, allocations: 2.453 MB / 3.075 GB, free: 376.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-05/7.027, allocations: 1.312 kB / 3.075 GB, free: 376.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01368/7.041, allocations: 3.688 MB / 3.079 GB, free: 376.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/7.041, allocations: 9.703 kB / 3.079 GB, free: 376.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/7.041, allocations: 1.922 kB / 3.079 GB, free: 376.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006111/7.041, allocations: 95.14 kB / 3.079 GB, free: 376.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003604/7.045, allocations: 0.5619 MB / 3.079 GB, free: 376.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/7.047, allocations: 1.46 MB / 3.081 GB, free: 375.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00301/7.05, allocations: 293.4 kB / 3.081 GB, free: 375.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002599/7.05, allocations: 88.31 kB / 3.081 GB, free: 375.3 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.0004455/7.05, allocations: 128.8 kB / 3.081 GB, free: 375.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003196/7.051, allocations: 132.6 kB / 3.081 GB, free: 375.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01485/7.066, allocations: 4.256 MB / 3.085 GB, free: 375 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.804e-05/7.066, allocations: 21.75 kB / 3.085 GB, free: 375 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/7.066, allocations: 0 / 3.085 GB, free: 375 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-05/7.066, allocations: 11.41 kB / 3.085 GB, free: 375 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01774/7.083, allocations: 6.262 MB / 3.092 GB, free: 374.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/7.084, allocations: 3.188 kB / 3.092 GB, free: 374.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003612/7.087, allocations: 0.5531 MB / 3.092 GB, free: 374.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005701/7.088, allocations: 90.67 kB / 3.092 GB, free: 374.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002858/7.088, allocations: 44.61 kB / 3.092 GB, free: 374.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001797/7.09, allocations: 1.481 MB / 3.094 GB, free: 373.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/7.09, allocations: 3.094 kB / 3.094 GB, free: 373.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01471/7.105, allocations: 3.841 MB / 3.097 GB, free: 373 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/7.106, allocations: 0.5271 MB / 3.098 GB, free: 372.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002847/7.106, allocations: 3.047 kB / 3.098 GB, free: 372.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002694/7.109, allocations: 234.8 kB / 3.098 GB, free: 372.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003353/7.109, allocations: 126.1 kB / 3.098 GB, free: 372.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002379/7.109, allocations: 81.98 kB / 3.098 GB, free: 372.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00094/7.11, allocations: 0.535 MB / 3.099 GB, free: 372.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/7.11, allocations: 0 / 3.099 GB, free: 372.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002829/7.113, allocations: 0.5908 MB / 3.099 GB, free: 372.7 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.002793/7.116, allocations: 1.108 MB / 3.1 GB, free: 372.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004781/7.121, allocations: 2.12 MB / 3.103 GB, free: 372.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/7.121, allocations: 1.062 kB / 3.103 GB, free: 372.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002346/7.123, allocations: 1.244 MB / 3.104 GB, free: 372.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/7.125, allocations: 248.5 kB / 3.104 GB, free: 372.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006556/7.132, allocations: 2.711 MB / 3.107 GB, free: 371.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007977/7.132, allocations: 1.374 MB / 3.108 GB, free: 370.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003457/7.136, allocations: 0.5458 MB / 3.109 GB, free: 370.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008972/7.137, allocations: 211.5 kB / 3.109 GB, free: 370.6 MB / 1.151 GB Notification: Performance of SimCode: time 5.71e-07/7.137, allocations: 6.562 kB / 3.109 GB, free: 370.6 MB / 1.151 GB Notification: Performance of Templates: time 0.04433/7.181, allocations: 28.05 MB / 3.136 GB, free: 368.6 MB / 1.151 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