Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.357/2.357, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001168/0.001168, allocations: 182.8 kB / 0.4902 GB, free: 2.23 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.717/1.717, allocations: 223.1 MB / 0.7992 GB, free: 14.72 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.00104/0.00104, allocations: 101.2 kB / 0.9396 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004112/0.0004112, allocations: 10.5 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.328, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.657/4.985, allocations: 1.732 GB / 2.962 GB, free: 218.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/4.985, allocations: 88.64 kB / 2.962 GB, free: 218.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1768/5.162, allocations: 80.81 MB / 3.041 GB, free: 148.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.697e-06/5.162, allocations: 0 / 3.041 GB, free: 148.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.469e-05/5.162, allocations: 31.94 kB / 3.041 GB, free: 148.1 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.002534/5.165, allocations: 1.394 MB / 3.042 GB, free: 146.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/5.165, allocations: 12.56 kB / 3.042 GB, free: 146.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008987/5.166, allocations: 214.2 kB / 3.042 GB, free: 146.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/5.167, allocations: 0.7168 MB / 3.043 GB, free: 145.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.108e-05/5.167, allocations: 83.67 kB / 3.043 GB, free: 145.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/5.167, allocations: 112.2 kB / 3.043 GB, free: 145.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/5.169, allocations: 1.134 MB / 3.044 GB, free: 144.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/5.169, allocations: 0 / 3.044 GB, free: 144.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/5.169, allocations: 49.62 kB / 3.044 GB, free: 144.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.3e-05/5.169, allocations: 28 kB / 3.044 GB, free: 144.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00172/5.171, allocations: 1.242 MB / 3.045 GB, free: 143.9 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004341/5.175, allocations: 3.073 MB / 3.048 GB, free: 141.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/5.177, allocations: 0.7804 MB / 3.049 GB, free: 140.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/5.177, allocations: 36.42 kB / 3.049 GB, free: 140.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008298/5.177, allocations: 448.1 kB / 3.05 GB, free: 140.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=78): time 6.943e-06/5.177, allocations: 0 / 3.05 GB, free: 140.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=78): time 0.003162/5.181, allocations: 1.164 MB / 3.051 GB, free: 139.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/5.181, allocations: 240 kB / 3.051 GB, free: 139.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009509/5.182, allocations: 0.6756 MB / 3.052 GB, free: 138.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.782e-05/5.182, allocations: 37.14 kB / 3.052 GB, free: 138.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004578/5.182, allocations: 0.4937 MB / 3.052 GB, free: 138.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002212/5.183, allocations: 264.3 kB / 3.053 GB, free: 138.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/5.183, allocations: 14.56 kB / 3.053 GB, free: 138.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001255/5.183, allocations: 329.1 kB / 3.053 GB, free: 137.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004401/5.183, allocations: 241.7 kB / 3.053 GB, free: 137.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005457/5.184, allocations: 356.4 kB / 3.053 GB, free: 137.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005252/5.184, allocations: 293.2 kB / 3.054 GB, free: 137.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/5.184, allocations: 4.109 kB / 3.054 GB, free: 137.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001795/5.186, allocations: 0.7974 MB / 3.054 GB, free: 136.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.766e-05/5.186, allocations: 4 kB / 3.054 GB, free: 136.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/5.186, allocations: 4 kB / 3.054 GB, free: 136.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006987/5.187, allocations: 87.41 kB / 3.055 GB, free: 136.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007102/5.188, allocations: 147.2 kB / 3.055 GB, free: 136.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/5.19, allocations: 1.533 MB / 3.056 GB, free: 134.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007917/5.191, allocations: 98.58 kB / 3.056 GB, free: 134.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.424e-05/5.191, allocations: 23.61 kB / 3.056 GB, free: 134.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (83): * Single equations (assignments): 82 * 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.0009392/5.192, allocations: 277.1 kB / 3.057 GB, free: 134.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/5.192, allocations: 90.92 kB / 3.057 GB, free: 134.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/5.194, allocations: 1.051 MB / 3.058 GB, free: 133.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-06/5.194, allocations: 8 kB / 3.058 GB, free: 133.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/5.194, allocations: 0 / 3.058 GB, free: 133.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/5.194, allocations: 11.98 kB / 3.058 GB, free: 133.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/5.195, allocations: 1.01 MB / 3.059 GB, free: 133 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/5.195, allocations: 0 / 3.059 GB, free: 133 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005858/5.196, allocations: 148.8 kB / 3.059 GB, free: 132.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005208/5.196, allocations: 80.72 kB / 3.059 GB, free: 132.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.878e-05/5.197, allocations: 24.11 kB / 3.059 GB, free: 132.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/5.198, allocations: 1.565 MB / 3.06 GB, free: 131.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/5.198, allocations: 0 / 3.06 GB, free: 131.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/5.2, allocations: 0.8906 MB / 3.061 GB, free: 130.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004109/5.2, allocations: 299 kB / 3.062 GB, free: 130.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/5.2, allocations: 16.62 kB / 3.062 GB, free: 130.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005195/5.201, allocations: 68.53 kB / 3.062 GB, free: 130.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/5.201, allocations: 64.09 kB / 3.062 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.596e-05/5.201, allocations: 33.11 kB / 3.062 GB, free: 130.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006383/5.202, allocations: 0.5388 MB / 3.062 GB, free: 129.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.91e-07/5.202, allocations: 4 kB / 3.062 GB, free: 129.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001217/5.203, allocations: 413 kB / 3.063 GB, free: 129.4 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.002016/5.205, allocations: 1.071 MB / 3.064 GB, free: 128.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001458/5.206, allocations: 0.7735 MB / 3.065 GB, free: 127.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/5.206, allocations: 4 kB / 3.065 GB, free: 127.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007873/5.207, allocations: 0.4947 MB / 3.065 GB, free: 127.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009953/5.208, allocations: 252.2 kB / 3.065 GB, free: 127.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004025/5.212, allocations: 2.475 MB / 3.068 GB, free: 125 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004581/5.213, allocations: 1.113 MB / 3.069 GB, free: 123.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008811/5.214, allocations: 262.8 kB / 3.069 GB, free: 123.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/5.214, allocations: 101.4 kB / 3.069 GB, free: 123.5 MB / 1.167 GB Notification: Performance of SimCode: time 2.975e-06/5.214, allocations: 0 / 3.069 GB, free: 123.5 MB / 1.167 GB Notification: Performance of Templates: time 0.02949/5.243, allocations: 20.97 MB / 3.09 GB, free: 102.7 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches