Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.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.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007866/0.0007865, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006611/0.006612, allocations: 171.4 kB / 16.27 MB, free: 6.32 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.419/1.419, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.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.465/2.465, allocations: 390.9 MB / 0.6663 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003613, allocations: 12 kB / 0.816 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7901/0.7905, allocations: 142.4 MB / 0.955 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005548/0.7961, allocations: 3.939 MB / 0.9589 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1919/0.988, allocations: 146.6 MB / 1.102 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/0.9892, allocations: 19.88 kB / 1.102 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008945/0.9901, allocations: 139 kB / 1.102 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00231/0.9925, allocations: 428.5 kB / 1.103 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002279/0.9948, allocations: 0.7142 MB / 1.103 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001717/0.9965, allocations: 1.199 MB / 1.105 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000919/0.9974, allocations: 0.588 MB / 1.105 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005341/0.998, allocations: 330.3 kB / 1.105 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004594/0.9984, allocations: 377.9 kB / 1.106 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.256e-05/0.9985, allocations: 28 kB / 1.106 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009089/0.9994, allocations: 367.7 kB / 1.106 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002089/0.9997, allocations: 183.1 kB / 1.106 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004195/1, allocations: 458.8 kB / 1.107 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001517/1.002, allocations: 1.456 MB / 1.108 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/1.002, allocations: 4 kB / 1.108 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.353e-06/1.002, allocations: 0 / 1.108 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.111e-05/1.002, allocations: 0 / 1.108 GB, free: 1.961 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002345/1.004, allocations: 1.2 MB / 1.109 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/1.004, allocations: 8.031 kB / 1.109 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009216/1.005, allocations: 199.4 kB / 1.11 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/1.006, allocations: 0.7344 MB / 1.11 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.516e-05/1.006, allocations: 66 kB / 1.11 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/1.006, allocations: 76 kB / 1.11 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/1.008, allocations: 0.9184 MB / 1.111 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/1.008, allocations: 0 / 1.111 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-05/1.008, allocations: 36 kB / 1.111 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/1.008, allocations: 20 kB / 1.111 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/1.01, allocations: 1.112 MB / 1.112 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004105/1.014, allocations: 2.533 MB / 1.115 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/1.015, allocations: 0.7902 MB / 1.116 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005378/1.016, allocations: 318.6 kB / 1.116 GB, free: 9.746 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.806e-05/1.016, allocations: 32.61 kB / 1.116 GB, free: 9.715 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009041/1.017, allocations: 495.1 kB / 1.117 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=80): time 2.585e-06/1.017, allocations: 0 / 1.117 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of matching and sorting (n=80): time 0.003164/1.02, allocations: 1.202 MB / 1.118 GB, free: 7.984 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/1.02, allocations: 192.6 kB / 1.118 GB, free: 7.754 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008769/1.021, allocations: 0.6292 MB / 1.118 GB, free: 7.121 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.409e-05/1.021, allocations: 41.7 kB / 1.119 GB, free: 7.074 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003526/1.022, allocations: 396.3 kB / 1.119 GB, free: 6.68 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002431/1.022, allocations: 256.3 kB / 1.119 GB, free: 6.426 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/1.022, allocations: 73.69 kB / 1.119 GB, free: 6.348 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002114/1.022, allocations: 394.7 kB / 1.12 GB, free: 5.953 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005445/1.023, allocations: 265.9 kB / 1.12 GB, free: 5.691 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006338/1.023, allocations: 367.1 kB / 1.12 GB, free: 5.32 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/1.025, allocations: 0.6073 MB / 1.121 GB, free: 4.703 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/1.025, allocations: 0 / 1.121 GB, free: 4.703 MB / 0.8731 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001949/1.027, allocations: 0.8566 MB / 1.122 GB, free: 3.832 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/1.027, allocations: 8 kB / 1.122 GB, free: 3.824 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/1.027, allocations: 0 / 1.122 GB, free: 3.824 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000617/1.027, allocations: 84.83 kB / 1.122 GB, free: 3.738 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006566/1.028, allocations: 167.7 kB / 1.122 GB, free: 3.574 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002088/1.03, allocations: 1.53 MB / 1.123 GB, free: 1.906 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007803/1.031, allocations: 110.9 kB / 1.123 GB, free: 1.801 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.855e-05/1.031, allocations: 35.92 kB / 1.124 GB, free: 1.766 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 (95): * Single equations (assignments): 94 * 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.0004983/1.031, allocations: 273.6 kB / 1.124 GB, free: 1.492 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/1.032, allocations: 86.91 kB / 1.124 GB, free: 1.406 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002395/1.034, allocations: 1.069 MB / 1.125 GB, free: 328 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.467e-06/1.034, allocations: 12 kB / 1.125 GB, free: 316 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/1.034, allocations: 0 / 1.125 GB, free: 316 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/1.034, allocations: 3.984 kB / 1.125 GB, free: 312 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/1.035, allocations: 0.8801 MB / 1.126 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/1.035, allocations: 4 kB / 1.126 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005837/1.036, allocations: 143.8 kB / 1.126 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005273/1.036, allocations: 92.7 kB / 1.126 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.262e-05/1.036, allocations: 19.98 kB / 1.126 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/1.038, allocations: 1.544 MB / 1.128 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.038, allocations: 3.938 kB / 1.128 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/1.04, allocations: 0.9318 MB / 1.128 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003848/1.04, allocations: 291.6 kB / 1.129 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/1.041, allocations: 20 kB / 1.129 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000625/1.041, allocations: 75.94 kB / 1.129 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/1.041, allocations: 68.89 kB / 1.129 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-05/1.041, allocations: 39.97 kB / 1.129 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005516/1.042, allocations: 451 kB / 1.129 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/1.042, allocations: 0 / 1.129 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008062/1.043, allocations: 315.2 kB / 1.13 GB, free: 11.23 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 (91): * Single equations (assignments): 85 * 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.001422/1.044, allocations: 0.605 MB / 1.13 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001803/1.046, allocations: 0.8353 MB / 1.131 GB, free: 9.949 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.046, allocations: 0 / 1.131 GB, free: 9.949 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008913/1.047, allocations: 0.5158 MB / 1.132 GB, free: 9.422 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/1.048, allocations: 265.4 kB / 1.132 GB, free: 9.168 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004163/1.052, allocations: 2.214 MB / 1.134 GB, free: 6.918 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005417/1.053, allocations: 1.029 MB / 1.135 GB, free: 5.863 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0008096/1.054, allocations: 254.6 kB / 1.135 GB, free: 5.609 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/1.054, allocations: 99.39 kB / 1.135 GB, free: 5.512 MB / 0.8887 GB Notification: Performance of SimCode: time 3.41e-07/1.054, allocations: 0 / 1.135 GB, free: 5.512 MB / 0.8887 GB Notification: Performance of Templates: time 0.02529/1.079, allocations: 13.92 MB / 1.149 GB, free: 7.754 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches