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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.008249/0.008249, allocations: 100.4 kB / 15.87 MB, free: 6.328 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.001682/0.001682, allocations: 194 kB / 16.79 MB, free: 6.254 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.418/1.418, allocations: 222.9 MB / 240.5 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.392/2.392, allocations: 390.2 MB / 0.6649 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 63.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8232/0.8248, allocations: 140.4 MB / 0.9496 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005751/0.8306, allocations: 4.745 MB / 0.9542 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1768/1.007, allocations: 148.4 MB / 1.099 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/1.009, allocations: 23.88 kB / 1.099 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008165/1.01, allocations: 154.8 kB / 1.099 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002017/1.012, allocations: 452.4 kB / 1.1 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002206/1.014, allocations: 0.7423 MB / 1.1 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001864/1.016, allocations: 1.347 MB / 1.102 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001277/1.017, allocations: 0.8964 MB / 1.103 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009046/1.018, allocations: 0.5018 MB / 1.103 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007479/1.019, allocations: 0.5947 MB / 1.104 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001746/1.019, allocations: 91.94 kB / 1.104 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/1.02, allocations: 431.6 kB / 1.104 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002912/1.02, allocations: 306.8 kB / 1.104 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005785/1.021, allocations: 0.6253 MB / 1.105 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001621/1.023, allocations: 1.458 MB / 1.107 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.023, allocations: 0 / 1.107 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.625e-06/1.023, allocations: 0 / 1.107 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.913e-05/1.023, allocations: 3.938 kB / 1.107 GB, free: 0.7891 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.003209/1.026, allocations: 1.678 MB / 1.108 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/1.026, allocations: 16.02 kB / 1.108 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009809/1.027, allocations: 215.1 kB / 1.108 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/1.028, allocations: 0.852 MB / 1.109 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-05/1.028, allocations: 90.41 kB / 1.109 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/1.028, allocations: 116 kB / 1.109 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/1.03, allocations: 1.206 MB / 1.111 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/1.03, allocations: 4 kB / 1.111 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/1.031, allocations: 55.98 kB / 1.111 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/1.031, allocations: 28 kB / 1.111 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002037/1.033, allocations: 1.281 MB / 1.112 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004929/1.038, allocations: 3.152 MB / 1.115 GB, free: 7.859 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/1.039, allocations: 0.8666 MB / 1.116 GB, free: 6.98 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000557/1.04, allocations: 318.7 kB / 1.116 GB, free: 6.664 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.425e-05/1.04, allocations: 36.59 kB / 1.116 GB, free: 6.629 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001095/1.041, allocations: 0.5119 MB / 1.117 GB, free: 6.098 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=87): time 2.255e-06/1.041, allocations: 4 kB / 1.117 GB, free: 6.094 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87): time 0.003416/1.044, allocations: 1.278 MB / 1.118 GB, free: 4.789 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/1.044, allocations: 188.9 kB / 1.118 GB, free: 4.562 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/1.046, allocations: 0.7391 MB / 1.119 GB, free: 3.812 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.058e-05/1.046, allocations: 41.7 kB / 1.119 GB, free: 3.766 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004329/1.046, allocations: 0.5115 MB / 1.119 GB, free: 3.246 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002422/1.046, allocations: 287.8 kB / 1.12 GB, free: 2.961 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002822/1.047, allocations: 174.5 kB / 1.12 GB, free: 2.781 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000132/1.047, allocations: 341.9 kB / 1.12 GB, free: 2.441 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005868/1.047, allocations: 293.8 kB / 1.12 GB, free: 2.156 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006572/1.048, allocations: 387 kB / 1.121 GB, free: 1.766 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/1.049, allocations: 0.6593 MB / 1.121 GB, free: 1.094 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/1.049, allocations: 0 / 1.121 GB, free: 1.094 MB / 0.8731 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002239/1.051, allocations: 0.9227 MB / 1.122 GB, free: 164 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/1.052, allocations: 4.109 kB / 1.122 GB, free: 160 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/1.052, allocations: 7.875 kB / 1.122 GB, free: 152 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006141/1.052, allocations: 80.88 kB / 1.122 GB, free: 68 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007436/1.053, allocations: 179.7 kB / 1.123 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002236/1.055, allocations: 1.519 MB / 1.124 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009045/1.056, allocations: 107.2 kB / 1.124 GB, free: 14.13 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.318e-05/1.056, allocations: 35.98 kB / 1.124 GB, free: 14.09 MB / 0.8887 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.0005679/1.057, allocations: 299.4 kB / 1.125 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/1.057, allocations: 90.88 kB / 1.125 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002523/1.059, allocations: 1.126 MB / 1.126 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/1.06, allocations: 12 kB / 1.126 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.06, allocations: 3.984 kB / 1.126 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/1.06, allocations: 7.922 kB / 1.126 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/1.061, allocations: 1.048 MB / 1.127 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/1.061, allocations: 0 / 1.127 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006402/1.062, allocations: 151.8 kB / 1.127 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005259/1.062, allocations: 84.77 kB / 1.127 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.106e-05/1.062, allocations: 23.98 kB / 1.127 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002006/1.064, allocations: 1.551 MB / 1.129 GB, free: 9.492 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.064, allocations: 4.031 kB / 1.129 GB, free: 9.488 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002202/1.066, allocations: 0.9823 MB / 1.129 GB, free: 8.48 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004169/1.067, allocations: 291.6 kB / 1.13 GB, free: 8.176 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/1.067, allocations: 19.91 kB / 1.13 GB, free: 8.156 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000634/1.068, allocations: 67.94 kB / 1.13 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/1.068, allocations: 72.89 kB / 1.13 GB, free: 8.02 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.338e-05/1.068, allocations: 39.97 kB / 1.13 GB, free: 7.98 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007352/1.069, allocations: 0.5107 MB / 1.13 GB, free: 7.477 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.4e-07/1.069, allocations: 0 / 1.13 GB, free: 7.477 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009923/1.07, allocations: 362.8 kB / 1.131 GB, free: 7.121 MB / 0.8887 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.00144/1.071, allocations: 0.6084 MB / 1.131 GB, free: 6.688 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001824/1.073, allocations: 0.8822 MB / 1.132 GB, free: 5.793 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/1.073, allocations: 4 kB / 1.132 GB, free: 5.789 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009747/1.074, allocations: 0.5353 MB / 1.133 GB, free: 5.246 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/1.075, allocations: 289.6 kB / 1.133 GB, free: 4.973 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004722/1.08, allocations: 2.68 MB / 1.136 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007662/1.081, allocations: 1.106 MB / 1.137 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004095/1.081, allocations: 123.4 kB / 1.137 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of SimCode: time 8.82e-07/1.081, allocations: 4 kB / 1.137 GB, free: 1 MB / 0.8887 GB Notification: Performance of Templates: time 0.02846/1.11, allocations: 21.41 MB / 1.158 GB, free: 11.63 MB / 0.92 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