Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_9_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_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 108 kB / 15.99 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 199.6 kB / 16.91 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.198/2.198, allocations: 390.3 MB / 0.665 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 62.52 kB / 0.8127 GB, free: 33.18 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.273, allocations: 140.4 MB / 0.9498 GB, free: 9.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006812/0.2799, allocations: 4.745 MB / 0.9544 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7215/1.001, allocations: 148.5 MB / 1.099 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/1.003, allocations: 20.16 kB / 1.099 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000696/1.003, allocations: 153.2 kB / 1.1 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001986/1.005, allocations: 473.8 kB / 1.1 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002181/1.007, allocations: 0.7657 MB / 1.101 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002345/1.01, allocations: 1.438 MB / 1.102 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00142/1.011, allocations: 0.9282 MB / 1.103 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/1.012, allocations: 0.5826 MB / 1.104 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/1.013, allocations: 0.6257 MB / 1.104 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002968/1.014, allocations: 154.4 kB / 1.104 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/1.015, allocations: 0.4895 MB / 1.105 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000423/1.016, allocations: 374.5 kB / 1.105 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008492/1.016, allocations: 0.6966 MB / 1.106 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002399/1.019, allocations: 1.472 MB / 1.107 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.019, allocations: 0 / 1.107 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.024e-06/1.019, allocations: 1.516 kB / 1.107 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.545e-05/1.019, allocations: 4 kB / 1.107 GB, free: 4.758 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.004006/1.023, allocations: 1.685 MB / 1.109 GB, free: 19.89 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/1.023, allocations: 10.09 kB / 1.109 GB, free: 19.89 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/1.024, allocations: 220.2 kB / 1.109 GB, free: 19.82 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/1.026, allocations: 0.8519 MB / 1.11 GB, free: 19.44 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.1e-05/1.026, allocations: 89.39 kB / 1.11 GB, free: 19.44 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/1.026, allocations: 115 kB / 1.11 GB, free: 19.44 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002533/1.028, allocations: 1.207 MB / 1.111 GB, free: 19.25 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/1.029, allocations: 0 / 1.111 GB, free: 19.25 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/1.029, allocations: 49.7 kB / 1.111 GB, free: 19.25 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.11e-05/1.029, allocations: 29.22 kB / 1.111 GB, free: 19.25 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002404/1.031, allocations: 1.286 MB / 1.113 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005491/1.037, allocations: 3.153 MB / 1.116 GB, free: 18.3 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/1.038, allocations: 0.8619 MB / 1.117 GB, free: 18.25 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005254/1.039, allocations: 321 kB / 1.117 GB, free: 18.24 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.328e-05/1.039, allocations: 30.36 kB / 1.117 GB, free: 18.24 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009797/1.04, allocations: 0.5271 MB / 1.118 GB, free: 18.15 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=87): time 3.056e-06/1.04, allocations: 0 / 1.118 GB, free: 18.15 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87): time 0.003408/1.043, allocations: 1.271 MB / 1.119 GB, free: 17.93 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/1.043, allocations: 192.2 kB / 1.119 GB, free: 17.71 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/1.045, allocations: 0.7419 MB / 1.12 GB, free: 17.58 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001199/1.045, allocations: 44.67 kB / 1.12 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003884/1.045, allocations: 0.51 MB / 1.12 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002173/1.045, allocations: 288.7 kB / 1.12 GB, free: 17.12 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002665/1.046, allocations: 178.8 kB / 1.121 GB, free: 17.1 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001391/1.046, allocations: 344.1 kB / 1.121 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005352/1.046, allocations: 287 kB / 1.121 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006123/1.047, allocations: 389 kB / 1.122 GB, free: 16.74 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/1.048, allocations: 0.6579 MB / 1.122 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/1.048, allocations: 0 / 1.122 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002154/1.05, allocations: 0.9181 MB / 1.123 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/1.05, allocations: 11.02 kB / 1.123 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/1.05, allocations: 1.281 kB / 1.123 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006111/1.051, allocations: 90.45 kB / 1.123 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007319/1.052, allocations: 173.4 kB / 1.123 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002196/1.054, allocations: 1.623 MB / 1.125 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009872/1.055, allocations: 101.8 kB / 1.125 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.111e-05/1.055, allocations: 39.88 kB / 1.125 GB, free: 15.09 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006444/1.056, allocations: 301.8 kB / 1.125 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002347/1.056, allocations: 97.36 kB / 1.126 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002509/1.058, allocations: 1.129 MB / 1.127 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/1.058, allocations: 9.719 kB / 1.127 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/1.058, allocations: 5.188 kB / 1.127 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/1.058, allocations: 5.25 kB / 1.127 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/1.06, allocations: 1.044 MB / 1.128 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/1.06, allocations: 4 kB / 1.128 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006371/1.061, allocations: 156.1 kB / 1.128 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004572/1.061, allocations: 75.41 kB / 1.128 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-05/1.061, allocations: 24.97 kB / 1.128 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/1.063, allocations: 1.661 MB / 1.13 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.063, allocations: 64 / 1.13 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002245/1.066, allocations: 0.9867 MB / 1.13 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005209/1.066, allocations: 288.7 kB / 1.131 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000245/1.066, allocations: 19.34 kB / 1.131 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007435/1.067, allocations: 66.5 kB / 1.131 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/1.067, allocations: 77.91 kB / 1.131 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.368e-05/1.067, allocations: 40.48 kB / 1.131 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007924/1.068, allocations: 0.5147 MB / 1.131 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2e-07/1.068, allocations: 0 / 1.131 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001269/1.069, allocations: 360.5 kB / 1.132 GB, free: 12.64 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001681/1.071, allocations: 0.6092 MB / 1.132 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002878/1.074, allocations: 1.103 MB / 1.133 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.074, allocations: 1.188 kB / 1.133 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001108/1.075, allocations: 0.5456 MB / 1.134 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/1.077, allocations: 313 kB / 1.134 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00538/1.082, allocations: 2.67 MB / 1.137 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008775/1.083, allocations: 1.111 MB / 1.138 GB, free: 9.977 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004726/1.084, allocations: 127.9 kB / 1.138 GB, free: 9.961 MB / 0.8731 GB Notification: Performance of SimCode: time 9.41e-07/1.084, allocations: 0 / 1.138 GB, free: 9.961 MB / 0.8731 GB Notification: Performance of Templates: time 0.03405/1.118, allocations: 21.42 MB / 1.159 GB, free: 2.355 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches