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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 115.1 kB / 17.08 MB, free: 5.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001886/0.001887, allocations: 193.2 kB / 20.03 MB, free: 2.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.077/3.077, allocations: 489.3 MB / 0.7687 GB, free: 4 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=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 0.001997/0.001997, allocations: 67.91 kB / 1.103 GB, free: 0.8438 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025/1.027, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007085/1.034, allocations: 5.967 MB / 1.268 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2088/1.243, allocations: 150.8 MB / 1.416 GB, free: 3.758 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00195/1.245, allocations: 16.88 kB / 1.416 GB, free: 3.754 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0008349/1.246, allocations: 235.9 kB / 1.416 GB, free: 3.547 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00274/1.249, allocations: 0.6186 MB / 1.417 GB, free: 3.07 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002677/1.252, allocations: 0.8736 MB / 1.417 GB, free: 2.402 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00257/1.254, allocations: 1.659 MB / 1.419 GB, free: 1.371 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001454/1.256, allocations: 0.8678 MB / 1.42 GB, free: 0.8359 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/1.257, allocations: 0.6111 MB / 1.42 GB, free: 472 kB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009371/1.258, allocations: 0.6627 MB / 1.421 GB, free: 15.98 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.00022/1.258, allocations: 153.8 kB / 1.421 GB, free: 15.98 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/1.259, allocations: 0.5098 MB / 1.422 GB, free: 15.8 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003782/1.26, allocations: 370.5 kB / 1.422 GB, free: 15.5 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0008278/1.261, allocations: 0.744 MB / 1.423 GB, free: 14.96 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003107/1.264, allocations: 2.041 MB / 1.425 GB, free: 13.47 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.264, allocations: 1.219 kB / 1.425 GB, free: 13.47 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.512e-06/1.264, allocations: 4 kB / 1.425 GB, free: 13.47 MB / 1.123 GB Notification: Performance of Transformations before backend: time 3.506e-05/1.264, allocations: 0 / 1.425 GB, free: 13.47 MB / 1.123 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.003657/1.267, allocations: 1.757 MB / 1.427 GB, free: 12.1 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/1.267, allocations: 14.5 kB / 1.427 GB, free: 12.1 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/1.269, allocations: 229.3 kB / 1.427 GB, free: 11.98 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/1.27, allocations: 0.8669 MB / 1.428 GB, free: 11.28 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/1.27, allocations: 87.22 kB / 1.428 GB, free: 11.24 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/1.271, allocations: 120.7 kB / 1.428 GB, free: 11.2 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002341/1.273, allocations: 1.202 MB / 1.429 GB, free: 10.43 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.015e-05/1.273, allocations: 5.125 kB / 1.429 GB, free: 10.42 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/1.273, allocations: 47.5 kB / 1.429 GB, free: 10.39 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.16e-05/1.273, allocations: 29.34 kB / 1.429 GB, free: 10.39 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002325/1.275, allocations: 1.288 MB / 1.43 GB, free: 9.766 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006109/1.282, allocations: 3.698 MB / 1.434 GB, free: 6.711 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/1.283, allocations: 0.872 MB / 1.435 GB, free: 6.27 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005936/1.284, allocations: 323.5 kB / 1.435 GB, free: 6.109 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 9.099e-05/1.284, allocations: 36.81 kB / 1.435 GB, free: 6.09 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009787/1.285, allocations: 0.5184 MB / 1.436 GB, free: 5.758 MB / 1.123 GB Notification: Performance of pre-optimization done (n=87): time 3.086e-06/1.285, allocations: 0 / 1.436 GB, free: 5.758 MB / 1.123 GB Notification: Performance of matching and sorting (n=87): time 0.003661/1.289, allocations: 1.289 MB / 1.437 GB, free: 5.062 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/1.289, allocations: 190.2 kB / 1.437 GB, free: 4.84 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/1.29, allocations: 0.7408 MB / 1.438 GB, free: 4.172 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/1.29, allocations: 49.64 kB / 1.438 GB, free: 4.117 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005091/1.291, allocations: 0.5242 MB / 1.438 GB, free: 3.586 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003027/1.291, allocations: 297.5 kB / 1.439 GB, free: 3.293 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002963/1.291, allocations: 170.6 kB / 1.439 GB, free: 3.121 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001527/1.292, allocations: 337.9 kB / 1.439 GB, free: 2.785 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005773/1.292, allocations: 289.8 kB / 1.439 GB, free: 2.504 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006938/1.293, allocations: 403 kB / 1.44 GB, free: 2.094 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/1.294, allocations: 0.6555 MB / 1.44 GB, free: 1.43 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/1.294, allocations: 4 kB / 1.44 GB, free: 1.426 MB / 1.123 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00218/1.296, allocations: 0.9311 MB / 1.441 GB, free: 492 kB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/1.296, allocations: 4 kB / 1.441 GB, free: 488 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/1.296, allocations: 7.938 kB / 1.441 GB, free: 480 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006025/1.297, allocations: 80.86 kB / 1.441 GB, free: 396 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007199/1.298, allocations: 171.7 kB / 1.442 GB, free: 224 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/1.3, allocations: 1.634 MB / 1.443 GB, free: 14.44 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009949/1.301, allocations: 101.2 kB / 1.443 GB, free: 14.34 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.855e-05/1.301, allocations: 43.95 kB / 1.443 GB, free: 14.3 MB / 1.139 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.0007188/1.302, allocations: 306.9 kB / 1.444 GB, free: 13.99 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/1.302, allocations: 95.39 kB / 1.444 GB, free: 13.9 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00255/1.305, allocations: 1.126 MB / 1.445 GB, free: 12.76 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/1.305, allocations: 19.94 kB / 1.445 GB, free: 12.74 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/1.305, allocations: 0 / 1.445 GB, free: 12.74 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/1.305, allocations: 7.969 kB / 1.445 GB, free: 12.73 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/1.306, allocations: 1.059 MB / 1.446 GB, free: 11.62 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/1.306, allocations: 0 / 1.446 GB, free: 11.62 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006737/1.307, allocations: 151.8 kB / 1.446 GB, free: 11.48 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000485/1.308, allocations: 76.72 kB / 1.446 GB, free: 11.4 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.649e-05/1.308, allocations: 23.98 kB / 1.446 GB, free: 11.38 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00228/1.31, allocations: 1.67 MB / 1.448 GB, free: 9.555 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.31, allocations: 0 / 1.448 GB, free: 9.555 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002611/1.313, allocations: 0.9868 MB / 1.449 GB, free: 8.547 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007892/1.313, allocations: 296.1 kB / 1.449 GB, free: 8.238 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/1.314, allocations: 19.95 kB / 1.449 GB, free: 8.219 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006712/1.314, allocations: 67.92 kB / 1.449 GB, free: 8.152 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002325/1.315, allocations: 80.83 kB / 1.449 GB, free: 8.074 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.09e-05/1.315, allocations: 40.05 kB / 1.449 GB, free: 8.035 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0008555/1.315, allocations: 0.5107 MB / 1.45 GB, free: 7.527 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.5e-07/1.315, allocations: 0 / 1.45 GB, free: 7.527 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001254/1.317, allocations: 394.8 kB / 1.45 GB, free: 7.141 MB / 1.139 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.002008/1.319, allocations: 0.599 MB / 1.451 GB, free: 6.723 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002025/1.321, allocations: 0.8822 MB / 1.451 GB, free: 5.828 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.321, allocations: 0 / 1.451 GB, free: 5.828 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/1.322, allocations: 0.547 MB / 1.452 GB, free: 5.27 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/1.324, allocations: 327.5 kB / 1.452 GB, free: 4.973 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00442/1.328, allocations: 2.038 MB / 1.454 GB, free: 2.891 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/1.329, allocations: 1.11 MB / 1.455 GB, free: 1.754 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004648/1.33, allocations: 127.4 kB / 1.456 GB, free: 1.629 MB / 1.139 GB Notification: Performance of SimCode: time 1.223e-06/1.33, allocations: 0 / 1.456 GB, free: 1.629 MB / 1.139 GB Notification: Performance of Templates: time 0.03829/1.368, allocations: 21.91 MB / 1.477 GB, free: 11.77 MB / 1.17 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.100416823057458]