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.001713/0.001714, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 198.7 kB / 16.54 MB, free: 6.664 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.588/1.588, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.39/2.39, allocations: 390.2 MB / 0.6647 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 59.91 kB / 0.8125 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6713/0.6727, allocations: 140.4 MB / 0.9496 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006346/0.6791, allocations: 4.737 MB / 0.9542 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1724/0.8515, allocations: 150.7 MB / 1.101 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000933/0.8525, allocations: 19.88 kB / 1.101 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000568/0.8531, allocations: 202.1 kB / 1.102 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002118/0.8552, allocations: 0.5237 MB / 1.102 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002332/0.8575, allocations: 0.8493 MB / 1.103 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001591/0.8591, allocations: 1.441 MB / 1.104 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.8602, allocations: 0.9351 MB / 1.105 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007114/0.8609, allocations: 0.5721 MB / 1.106 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006408/0.8616, allocations: 0.6338 MB / 1.106 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001797/0.8618, allocations: 152 kB / 1.107 GB, free: 496 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008782/0.8627, allocations: 491.6 kB / 1.107 GB, free: 4 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003044/0.863, allocations: 375 kB / 1.107 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005164/0.8635, allocations: 0.6956 MB / 1.108 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001761/0.8653, allocations: 1.92 MB / 1.11 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.8653, allocations: 7.922 kB / 1.11 GB, free: 13 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8653, allocations: 0 / 1.11 GB, free: 13 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.609e-05/0.8653, allocations: 0 / 1.11 GB, free: 13 MB / 0.8731 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.002551/0.8679, allocations: 1.67 MB / 1.112 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.8679, allocations: 12.03 kB / 1.112 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009141/0.8688, allocations: 223 kB / 1.112 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.8699, allocations: 0.8481 MB / 1.113 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.7e-05/0.87, allocations: 90.41 kB / 1.113 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.8701, allocations: 112 kB / 1.113 GB, free: 9.961 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/0.8719, allocations: 1.206 MB / 1.114 GB, free: 8.691 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.8719, allocations: 4 kB / 1.114 GB, free: 8.688 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-05/0.872, allocations: 55.98 kB / 1.114 GB, free: 8.633 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/0.8721, allocations: 32 kB / 1.114 GB, free: 8.602 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/0.874, allocations: 1.285 MB / 1.115 GB, free: 7.309 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004271/0.8782, allocations: 3.149 MB / 1.118 GB, free: 4.078 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.8797, allocations: 0.855 MB / 1.119 GB, free: 3.215 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005268/0.8803, allocations: 326.7 kB / 1.12 GB, free: 2.895 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.841e-05/0.8804, allocations: 32.59 kB / 1.12 GB, free: 2.863 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008844/0.8813, allocations: 0.5158 MB / 1.12 GB, free: 2.324 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=87): time 2.375e-06/0.8813, allocations: 0 / 1.12 GB, free: 2.324 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87): time 0.003168/0.8845, allocations: 1.278 MB / 1.121 GB, free: 1.023 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.674e-05/0.8846, allocations: 192.9 kB / 1.122 GB, free: 0.793 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008413/0.8854, allocations: 0.7391 MB / 1.122 GB, free: 48 kB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.014e-05/0.8855, allocations: 45.78 kB / 1.122 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003573/0.8859, allocations: 0.5114 MB / 1.123 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/0.8861, allocations: 287.8 kB / 1.123 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/0.8863, allocations: 174.5 kB / 1.123 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.8864, allocations: 341.9 kB / 1.124 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005455/0.887, allocations: 289.8 kB / 1.124 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006284/0.8876, allocations: 391.1 kB / 1.124 GB, free: 14 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.8888, allocations: 0.6592 MB / 1.125 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.8888, allocations: 112 / 1.125 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001933/0.8907, allocations: 0.9228 MB / 1.126 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.8907, allocations: 8 kB / 1.126 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.8908, allocations: 3.938 kB / 1.126 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005846/0.8913, allocations: 84.86 kB / 1.126 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00069/0.892, allocations: 175.8 kB / 1.126 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/0.894, allocations: 1.627 MB / 1.128 GB, free: 10.35 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007222/0.8947, allocations: 103.2 kB / 1.128 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.99e-05/0.8948, allocations: 39.97 kB / 1.128 GB, free: 10.21 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.0004327/0.8952, allocations: 291.4 kB / 1.128 GB, free: 9.914 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.8954, allocations: 94.88 kB / 1.128 GB, free: 9.82 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002319/0.8977, allocations: 1.126 MB / 1.129 GB, free: 8.68 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.8977, allocations: 11.94 kB / 1.129 GB, free: 8.668 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.8978, allocations: 0 / 1.129 GB, free: 8.668 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.8978, allocations: 3.984 kB / 1.129 GB, free: 8.664 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.8989, allocations: 1.059 MB / 1.13 GB, free: 7.551 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.8989, allocations: 0 / 1.13 GB, free: 7.551 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005953/0.8995, allocations: 159.7 kB / 1.13 GB, free: 7.395 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004175/0.9, allocations: 72.78 kB / 1.13 GB, free: 7.32 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.136e-05/0.9, allocations: 27.98 kB / 1.131 GB, free: 7.293 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001786/0.9018, allocations: 1.65 MB / 1.132 GB, free: 5.496 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.9018, allocations: 4.031 kB / 1.132 GB, free: 5.492 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/0.9038, allocations: 0.9824 MB / 1.133 GB, free: 4.484 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003558/0.9042, allocations: 295.5 kB / 1.133 GB, free: 4.176 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.9043, allocations: 16 kB / 1.133 GB, free: 4.16 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006113/0.9049, allocations: 69.34 kB / 1.133 GB, free: 4.094 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.9051, allocations: 76.83 kB / 1.134 GB, free: 4.02 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.375e-05/0.9052, allocations: 39.97 kB / 1.134 GB, free: 3.98 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006085/0.9058, allocations: 0.5107 MB / 1.134 GB, free: 3.477 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9058, allocations: 0 / 1.134 GB, free: 3.477 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008745/0.9067, allocations: 362.8 kB / 1.134 GB, free: 3.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.001268/0.9079, allocations: 0.6121 MB / 1.135 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002388/0.9103, allocations: 1.101 MB / 1.136 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.9103, allocations: 0 / 1.136 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009436/0.9113, allocations: 0.5433 MB / 1.137 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.9124, allocations: 310.7 kB / 1.137 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004153/0.9166, allocations: 2.101 MB / 1.139 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006514/0.9173, allocations: 1.106 MB / 1.14 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0008406/0.9181, allocations: 279.3 kB / 1.14 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/0.9184, allocations: 111.4 kB / 1.14 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.9184, allocations: 0 / 1.14 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of Templates: time 0.02417/0.9426, allocations: 15.58 MB / 1.156 GB, free: 13.65 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches