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.001192/0.001192, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001251/0.001251, allocations: 191.4 kB / 16.25 MB, free: 6.637 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.43/1.43, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.408/2.408, allocations: 390.2 MB / 0.6644 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 59.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6543/0.6556, allocations: 140.4 MB / 0.9491 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005841/0.6615, allocations: 4.74 MB / 0.9537 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1735/0.8351, allocations: 148.5 MB / 1.099 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/0.8363, allocations: 23.88 kB / 1.099 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.8374, allocations: 154.8 kB / 1.099 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002259/0.8397, allocations: 467 kB / 1.099 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002414/0.8421, allocations: 0.771 MB / 1.1 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002013/0.8441, allocations: 1.437 MB / 1.101 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/0.8456, allocations: 0.9312 MB / 1.102 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.8466, allocations: 0.5838 MB / 1.103 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009797/0.8476, allocations: 0.6338 MB / 1.104 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000393/0.848, allocations: 152 kB / 1.104 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001333/0.8493, allocations: 491.6 kB / 1.104 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005571/0.8499, allocations: 374.8 kB / 1.105 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008701/0.8508, allocations: 0.6917 MB / 1.105 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002666/0.8535, allocations: 1.924 MB / 1.107 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.8535, allocations: 3.938 kB / 1.107 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8535, allocations: 8 kB / 1.107 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.953e-05/0.8536, allocations: 0 / 1.107 GB, free: 15.65 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.00401/0.8576, allocations: 1.678 MB / 1.109 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.8577, allocations: 8.031 kB / 1.109 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/0.8588, allocations: 223 kB / 1.109 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/0.8604, allocations: 0.8481 MB / 1.11 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.8605, allocations: 94.41 kB / 1.11 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/0.8607, allocations: 112 kB / 1.11 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002373/0.8631, allocations: 1.198 MB / 1.111 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.8632, allocations: 0 / 1.111 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/0.8633, allocations: 52 kB / 1.111 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.719e-05/0.8633, allocations: 28 kB / 1.111 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002242/0.8656, allocations: 1.293 MB / 1.113 GB, free: 9.961 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0054/0.871, allocations: 3.152 MB / 1.116 GB, free: 6.727 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/0.8727, allocations: 0.865 MB / 1.116 GB, free: 5.852 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005982/0.8733, allocations: 322.7 kB / 1.117 GB, free: 5.535 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.155e-05/0.8734, allocations: 36.59 kB / 1.117 GB, free: 5.5 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/0.8744, allocations: 0.5119 MB / 1.117 GB, free: 4.969 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=87): time 3.376e-06/0.8745, allocations: 0 / 1.117 GB, free: 4.969 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87): time 0.003426/0.8779, allocations: 1.274 MB / 1.119 GB, free: 3.668 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.709e-05/0.878, allocations: 196.9 kB / 1.119 GB, free: 3.434 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009985/0.879, allocations: 0.7391 MB / 1.119 GB, free: 2.688 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.077e-05/0.8791, allocations: 45.7 kB / 1.119 GB, free: 2.637 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004291/0.8795, allocations: 0.5115 MB / 1.12 GB, free: 2.117 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000238/0.8798, allocations: 287.8 kB / 1.12 GB, free: 1.832 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003035/0.8801, allocations: 178.5 kB / 1.12 GB, free: 1.648 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.8802, allocations: 338 kB / 1.121 GB, free: 1.312 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005727/0.8808, allocations: 285.8 kB / 1.121 GB, free: 1.035 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006809/0.8815, allocations: 395.1 kB / 1.121 GB, free: 0.6367 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.8827, allocations: 0.6553 MB / 1.122 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.932e-06/0.8827, allocations: 112 / 1.122 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002245/0.885, allocations: 0.9227 MB / 1.123 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.885, allocations: 4 kB / 1.123 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.8851, allocations: 7.938 kB / 1.123 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006503/0.8857, allocations: 84.86 kB / 1.123 GB, free: 14.94 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007401/0.8865, allocations: 175.7 kB / 1.123 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/0.8888, allocations: 1.63 MB / 1.125 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008871/0.8897, allocations: 109.6 kB / 1.125 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.8898, allocations: 35.98 kB / 1.125 GB, free: 12.85 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.0005984/0.8904, allocations: 295.4 kB / 1.125 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003193/0.8907, allocations: 90.88 kB / 1.125 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002777/0.8935, allocations: 1.129 MB / 1.126 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.8935, allocations: 15.94 kB / 1.126 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.8935, allocations: 0 / 1.126 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.8936, allocations: 3.984 kB / 1.126 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/0.895, allocations: 1.048 MB / 1.127 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.8951, allocations: 0 / 1.127 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006682/0.8957, allocations: 159.7 kB / 1.128 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004959/0.8963, allocations: 72.78 kB / 1.128 GB, free: 9.965 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.877e-05/0.8963, allocations: 27.98 kB / 1.128 GB, free: 9.938 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002007/0.8984, allocations: 1.654 MB / 1.129 GB, free: 8.137 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8984, allocations: 0 / 1.129 GB, free: 8.137 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002146/0.9005, allocations: 0.9863 MB / 1.13 GB, free: 7.129 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004244/0.901, allocations: 287.5 kB / 1.131 GB, free: 6.828 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/0.9011, allocations: 23.98 kB / 1.131 GB, free: 6.805 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006851/0.9018, allocations: 63.94 kB / 1.131 GB, free: 6.742 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.902, allocations: 76.83 kB / 1.131 GB, free: 6.668 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.54e-05/0.9021, allocations: 35.98 kB / 1.131 GB, free: 6.633 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007601/0.9029, allocations: 0.5146 MB / 1.131 GB, free: 6.125 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9029, allocations: 0 / 1.131 GB, free: 6.125 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001142/0.904, allocations: 366.8 kB / 1.132 GB, free: 5.766 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.001611/0.9057, allocations: 0.6 MB / 1.132 GB, free: 5.34 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002736/0.9084, allocations: 1.108 MB / 1.133 GB, free: 4.215 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.9084, allocations: 0 / 1.133 GB, free: 4.215 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.9095, allocations: 0.5472 MB / 1.134 GB, free: 3.66 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.9109, allocations: 303.9 kB / 1.134 GB, free: 3.383 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005085/0.916, allocations: 2.632 MB / 1.137 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000784/0.9168, allocations: 1.106 MB / 1.138 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001055/0.9178, allocations: 271.4 kB / 1.138 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003413/0.9182, allocations: 119.3 kB / 1.138 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of SimCode: time 1.273e-06/0.9182, allocations: 0 / 1.138 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of Templates: time 0.02856/0.9468, allocations: 15.48 MB / 1.153 GB, free: 15.88 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