Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001038, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001244/0.001244, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 223.3 MB / 240 MB, free: 5.406 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.568/2.568, allocations: 390.9 MB / 0.666 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003925/0.0003929, allocations: 12 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8636/0.864, allocations: 142.4 MB / 0.9544 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006828/0.8708, allocations: 5.572 MB / 0.9599 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.178/1.049, allocations: 137.8 MB / 1.094 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002183/1.051, allocations: 23.88 kB / 1.094 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001264/1.052, allocations: 186.3 kB / 1.095 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003559/1.056, allocations: 0.5564 MB / 1.095 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003896/1.06, allocations: 0.9821 MB / 1.096 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004333/1.064, allocations: 2.266 MB / 1.098 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002498/1.067, allocations: 1.191 MB / 1.1 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001714/1.068, allocations: 0.735 MB / 1.1 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001777/1.07, allocations: 0.8784 MB / 1.101 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0006454/1.071, allocations: 68 kB / 1.101 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001588/1.073, allocations: 395.6 kB / 1.102 GB, free: 8.598 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006109/1.073, allocations: 386.2 kB / 1.102 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006641/1.074, allocations: 396.5 kB / 1.102 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003409/1.077, allocations: 2.595 MB / 1.105 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.068e-05/1.077, allocations: 0 / 1.105 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.645e-06/1.077, allocations: 0 / 1.105 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.000184/1.078, allocations: 4 kB / 1.105 GB, free: 5.219 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.007604/1.085, allocations: 2.293 MB / 1.107 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.24e-05/1.085, allocations: 8.031 kB / 1.107 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01416/1.099, allocations: 2.295 MB / 1.109 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002969/1.102, allocations: 1.231 MB / 1.11 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001896/1.103, allocations: 176.5 kB / 1.111 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000805/1.103, allocations: 216 kB / 1.111 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01021/1.114, allocations: 3.337 MB / 1.114 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.462e-05/1.114, allocations: 0 / 1.114 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004895/1.114, allocations: 92 kB / 1.114 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.208e-05/1.114, allocations: 56 kB / 1.114 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0143/1.129, allocations: 4.326 MB / 1.118 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0221/1.151, allocations: 7.357 MB / 1.126 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00925/1.16, allocations: 2.893 MB / 1.129 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004504/1.165, allocations: 1.489 MB / 1.13 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008715/1.166, allocations: 0.5073 MB / 1.13 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005615/1.171, allocations: 1.848 MB / 1.132 GB, free: 8.652 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=213): time 7.904e-06/1.171, allocations: 4 kB / 1.132 GB, free: 8.648 MB / 0.8887 GB Notification: Performance of matching and sorting (n=213): time 0.0149/1.186, allocations: 4.474 MB / 1.137 GB, free: 4.148 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/1.186, allocations: 205.9 kB / 1.137 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/1.188, allocations: 0.9448 MB / 1.138 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0003724/1.188, allocations: 65.7 kB / 1.138 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.00082/1.189, allocations: 0.7465 MB / 1.139 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009139/1.19, allocations: 0.6737 MB / 1.139 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002286/1.19, allocations: 40 kB / 1.139 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001837/1.191, allocations: 377.9 kB / 1.14 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003914/1.195, allocations: 1.261 MB / 1.141 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004434/1.199, allocations: 1.437 MB / 1.142 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006828/1.206, allocations: 1.294 MB / 1.144 GB, free: 13 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.945e-05/1.206, allocations: 4 kB / 1.144 GB, free: 13 MB / 0.9044 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.0193/1.225, allocations: 3.12 MB / 1.147 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.733e-05/1.225, allocations: 9.719 kB / 1.147 GB, free: 9.855 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/1.225, allocations: 0 / 1.147 GB, free: 9.855 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008331/1.226, allocations: 96.77 kB / 1.147 GB, free: 9.758 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007086/1.233, allocations: 0.6124 MB / 1.147 GB, free: 9.145 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003887/1.237, allocations: 1.52 MB / 1.149 GB, free: 7.484 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006518/1.244, allocations: 394 kB / 1.149 GB, free: 7.098 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008339/1.245, allocations: 99.89 kB / 1.149 GB, free: 7 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (239): * Single equations (assignments): 238 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002071/1.247, allocations: 444.2 kB / 1.15 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007613/1.248, allocations: 150.1 kB / 1.15 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02094/1.269, allocations: 3.747 MB / 1.153 GB, free: 2.637 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.49e-05/1.269, allocations: 28 kB / 1.153 GB, free: 2.609 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/1.269, allocations: 112 / 1.153 GB, free: 2.609 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.382e-05/1.269, allocations: 11.91 kB / 1.153 GB, free: 2.598 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006349/1.275, allocations: 2.459 MB / 1.156 GB, free: 96 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-05/1.275, allocations: 3.938 kB / 1.156 GB, free: 92 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007117/1.282, allocations: 0.5617 MB / 1.156 GB, free: 15.53 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009681/1.283, allocations: 88.77 kB / 1.157 GB, free: 15.44 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006669/1.284, allocations: 75.91 kB / 1.157 GB, free: 15.36 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003467/1.288, allocations: 1.559 MB / 1.158 GB, free: 13.67 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.288, allocations: 64 / 1.158 GB, free: 13.67 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01944/1.307, allocations: 3.23 MB / 1.161 GB, free: 10.42 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002307/1.309, allocations: 0.5646 MB / 1.162 GB, free: 9.832 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005384/1.31, allocations: 44 kB / 1.162 GB, free: 9.789 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004969/1.315, allocations: 293.5 kB / 1.162 GB, free: 9.504 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005404/1.316, allocations: 153.7 kB / 1.162 GB, free: 9.352 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004157/1.316, allocations: 91.91 kB / 1.162 GB, free: 9.262 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001952/1.318, allocations: 0.6919 MB / 1.163 GB, free: 8.562 MB / 0.92 GB Notification: Performance of sort global known variables: time 5.71e-07/1.318, allocations: 4 kB / 1.163 GB, free: 8.559 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.003363/1.321, allocations: 0.6426 MB / 1.164 GB, free: 7.914 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002793/1.324, allocations: 0.6538 MB / 1.164 GB, free: 7.43 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01857/1.343, allocations: 3.17 MB / 1.167 GB, free: 4.246 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/1.343, allocations: 4.188 kB / 1.167 GB, free: 4.242 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.007804/1.351, allocations: 1.767 MB / 1.169 GB, free: 2.465 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002375/1.353, allocations: 329.6 kB / 1.169 GB, free: 2.152 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/1.365, allocations: 5.101 MB / 1.174 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001685/1.367, allocations: 1.434 MB / 1.176 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.00494/1.372, allocations: 0.5714 MB / 1.176 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00181/1.373, allocations: 231.2 kB / 1.177 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of SimCode: time 1.663e-06/1.373, allocations: 4 kB / 1.177 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of Templates: time 0.05324/1.427, allocations: 27.89 MB / 1.204 GB, free: 15.01 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches