Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8669/0.8669, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.753/1.753, allocations: 389 MB / 0.6338 GB, free: 12.73 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 1.001 GB, free: 13.08 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.31e-05, allocations: 10.22 kB / 1.001 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.004734/0.004757, allocations: 5.343 MB / 1.006 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5602/0.565, allocations: 133 MB / 1.136 GB, free: 14.23 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000801/0.5658, allocations: 24.53 kB / 1.136 GB, free: 14.21 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005677/0.5664, allocations: 254.3 kB / 1.136 GB, free: 14.04 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001421/0.5678, allocations: 0.6648 MB / 1.137 GB, free: 13.64 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.5693, allocations: 0.9142 MB / 1.138 GB, free: 13.16 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001429/0.5707, allocations: 1.74 MB / 1.139 GB, free: 12.22 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008163/0.5716, allocations: 0.5811 MB / 1.14 GB, free: 11.88 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.5726, allocations: 0.9641 MB / 1.141 GB, free: 11.42 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006173/0.5732, allocations: 0.5064 MB / 1.141 GB, free: 11.22 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001956/0.5734, allocations: 166.4 kB / 1.142 GB, free: 11.22 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009273/0.5743, allocations: 0.5302 MB / 1.142 GB, free: 11.11 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003333/0.5747, allocations: 389.6 kB / 1.142 GB, free: 10.85 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0004778/0.5752, allocations: 0.5108 MB / 1.143 GB, free: 10.59 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002426/0.5776, allocations: 2.22 MB / 1.145 GB, free: 9.656 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/0.5776, allocations: 1.312 kB / 1.145 GB, free: 9.656 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.165e-06/0.5776, allocations: 0 / 1.145 GB, free: 9.656 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.025e-05/0.5776, allocations: 0 / 1.145 GB, free: 9.656 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 310 * Number of variables: 310 Notification: Performance of Generate backend data structure: time 0.002268/0.5799, allocations: 1.726 MB / 1.147 GB, free: 8.547 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.5799, allocations: 10.62 kB / 1.147 GB, free: 8.547 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008472/0.5808, allocations: 276.3 kB / 1.147 GB, free: 8.457 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.5818, allocations: 0.819 MB / 1.148 GB, free: 7.945 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.666e-05/0.5819, allocations: 94.42 kB / 1.148 GB, free: 7.902 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.582, allocations: 130.2 kB / 1.148 GB, free: 7.855 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/0.5836, allocations: 1.472 MB / 1.15 GB, free: 6.984 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.5836, allocations: 1.25 kB / 1.15 GB, free: 6.984 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.118e-05/0.5837, allocations: 52.72 kB / 1.15 GB, free: 6.945 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/0.5837, allocations: 30.31 kB / 1.15 GB, free: 6.945 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001533/0.5852, allocations: 1.251 MB / 1.151 GB, free: 6.609 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003452/0.5887, allocations: 2.748 MB / 1.154 GB, free: 5.062 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.5898, allocations: 0.8633 MB / 1.154 GB, free: 4.723 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003939/0.5902, allocations: 316.1 kB / 1.155 GB, free: 4.602 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.984e-05/0.5903, allocations: 26.8 kB / 1.155 GB, free: 4.598 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007132/0.591, allocations: 0.6363 MB / 1.155 GB, free: 4.246 MB / 1.01 GB Notification: Performance of pre-optimization done (n=95): time 2.234e-06/0.591, allocations: 0 / 1.155 GB, free: 4.246 MB / 1.01 GB Notification: Performance of matching and sorting (n=95): time 0.002073/0.5931, allocations: 1.249 MB / 1.157 GB, free: 3.789 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.336e-05/0.5932, allocations: 204.9 kB / 1.157 GB, free: 3.559 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007081/0.5939, allocations: 0.6706 MB / 1.157 GB, free: 3.266 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.977e-05/0.5939, allocations: 50.95 kB / 1.157 GB, free: 3.219 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003462/0.5943, allocations: 0.5357 MB / 1.158 GB, free: 2.801 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/0.5945, allocations: 313.9 kB / 1.158 GB, free: 2.551 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002317/0.5947, allocations: 190.9 kB / 1.158 GB, free: 2.465 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.5949, allocations: 399.4 kB / 1.159 GB, free: 2.113 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004524/0.5953, allocations: 319.5 kB / 1.159 GB, free: 2 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005989/0.5959, allocations: 0.5456 MB / 1.16 GB, free: 1.66 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009761/0.5969, allocations: 0.6933 MB / 1.16 GB, free: 1.344 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.5969, allocations: 0 / 1.16 GB, free: 1.344 MB / 1.01 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00152/0.5984, allocations: 0.9987 MB / 1.161 GB, free: 0.9336 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.5984, allocations: 10.66 kB / 1.161 GB, free: 0.9297 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.5985, allocations: 0.6094 kB / 1.161 GB, free: 0.9297 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000339/0.5988, allocations: 80.78 kB / 1.161 GB, free: 0.9141 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004382/0.5992, allocations: 184.4 kB / 1.162 GB, free: 0.8945 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/0.6007, allocations: 1.506 MB / 1.163 GB, free: 15.52 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000417/0.6011, allocations: 98.81 kB / 1.163 GB, free: 15.47 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.179e-05/0.6011, allocations: 40.97 kB / 1.163 GB, free: 15.46 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (117): * Single equations (assignments): 116 * 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.0003489/0.6015, allocations: 307.9 kB / 1.163 GB, free: 15.24 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.6016, allocations: 99.23 kB / 1.164 GB, free: 15.18 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001744/0.6033, allocations: 1.147 MB / 1.165 GB, free: 14.72 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.6034, allocations: 10.89 kB / 1.165 GB, free: 14.72 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.6034, allocations: 3.938 kB / 1.165 GB, free: 14.72 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.6034, allocations: 7.609 kB / 1.165 GB, free: 14.72 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002685/0.6061, allocations: 2.068 MB / 1.167 GB, free: 13.73 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.6061, allocations: 0.6094 kB / 1.167 GB, free: 13.73 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000356/0.6064, allocations: 157.8 kB / 1.167 GB, free: 13.71 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002275/0.6066, allocations: 73.25 kB / 1.167 GB, free: 13.69 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.544e-05/0.6067, allocations: 25.58 kB / 1.167 GB, free: 13.68 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/0.6079, allocations: 1.528 MB / 1.168 GB, free: 12.3 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6079, allocations: 0 / 1.168 GB, free: 12.3 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.6093, allocations: 1.094 MB / 1.17 GB, free: 11.79 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003072/0.6096, allocations: 206.3 kB / 1.17 GB, free: 11.68 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.288e-05/0.6097, allocations: 24.73 kB / 1.17 GB, free: 11.66 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003453/0.61, allocations: 66.28 kB / 1.17 GB, free: 11.65 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/0.6102, allocations: 88.95 kB / 1.17 GB, free: 11.63 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.665e-05/0.6103, allocations: 37.5 kB / 1.17 GB, free: 11.62 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0005376/0.6108, allocations: 479.7 kB / 1.17 GB, free: 11.41 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6108, allocations: 0 / 1.17 GB, free: 11.41 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.001063/0.6119, allocations: 411.3 kB / 1.171 GB, free: 11.29 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001156/0.613, allocations: 0.666 MB / 1.171 GB, free: 11.02 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001276/0.6143, allocations: 0.895 MB / 1.172 GB, free: 10.66 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.6143, allocations: 3.938 kB / 1.172 GB, free: 10.66 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0006261/0.6149, allocations: 0.5312 MB / 1.173 GB, free: 10.4 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008147/0.6157, allocations: 309.7 kB / 1.173 GB, free: 10.3 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/0.6184, allocations: 2.068 MB / 1.175 GB, free: 9.219 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005544/0.619, allocations: 0.5235 MB / 1.176 GB, free: 9.078 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/0.6192, allocations: 126.3 kB / 1.176 GB, free: 9.055 MB / 1.026 GB Notification: Performance of SimCode: time 9.01e-07/0.6192, allocations: 0 / 1.176 GB, free: 9.055 MB / 1.026 GB Notification: Performance of Templates: time 0.01936/0.6386, allocations: 22.59 MB / 1.198 GB, free: 72 kB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.90293488651514]