Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00133/0.00133, allocations: 79.89 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001452/0.001452, allocations: 160.9 kB / 23.01 MB, free: 4.602 MB / 14.72 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 1.445/1.445, allocations: 177.2 MB / 203.4 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.823/2.823, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 60.09 kB / 0.9819 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051/1.053, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005948/1.059, allocations: 5.344 MB / 1.159 GB, free: 29.73 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1819/1.241, allocations: 132.9 MB / 1.289 GB, free: 4.117 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001323/1.242, allocations: 28.5 kB / 1.289 GB, free: 4.102 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001053/1.243, allocations: 242.8 kB / 1.289 GB, free: 3.938 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00274/1.246, allocations: 0.6523 MB / 1.29 GB, free: 3.531 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002665/1.249, allocations: 0.8933 MB / 1.291 GB, free: 3.039 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002533/1.251, allocations: 1.672 MB / 1.292 GB, free: 2.16 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/1.252, allocations: 0.5816 MB / 1.293 GB, free: 1.801 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/1.253, allocations: 0.6405 MB / 1.293 GB, free: 1.48 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008586/1.254, allocations: 0.5892 MB / 1.294 GB, free: 1.195 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002253/1.254, allocations: 157.4 kB / 1.294 GB, free: 1.195 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/1.255, allocations: 0.5213 MB / 1.295 GB, free: 1.078 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004137/1.256, allocations: 385.3 kB / 1.295 GB, free: 0.8242 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.00066/1.256, allocations: 0.5972 MB / 1.296 GB, free: 488 kB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002852/1.259, allocations: 2.099 MB / 1.298 GB, free: 15.58 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/1.259, allocations: 0.7969 kB / 1.298 GB, free: 15.58 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.142e-06/1.259, allocations: 0 / 1.298 GB, free: 15.58 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.925e-05/1.259, allocations: 3.938 kB / 1.298 GB, free: 15.57 MB / 1.154 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.003315/1.263, allocations: 1.718 MB / 1.299 GB, free: 14.34 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/1.263, allocations: 10 kB / 1.299 GB, free: 14.34 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/1.264, allocations: 278.1 kB / 1.3 GB, free: 14.2 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/1.266, allocations: 0.8155 MB / 1.3 GB, free: 13.57 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.374e-05/1.266, allocations: 87.66 kB / 1.301 GB, free: 13.53 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/1.266, allocations: 121.2 kB / 1.301 GB, free: 13.48 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002248/1.268, allocations: 1.453 MB / 1.302 GB, free: 12.41 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/1.268, allocations: 0 / 1.302 GB, free: 12.41 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/1.268, allocations: 52.31 kB / 1.302 GB, free: 12.37 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.871e-05/1.268, allocations: 29.69 kB / 1.302 GB, free: 12.37 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002199/1.271, allocations: 1.239 MB / 1.303 GB, free: 11.75 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00479/1.275, allocations: 2.609 MB / 1.306 GB, free: 9.84 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/1.277, allocations: 0.8165 MB / 1.307 GB, free: 9.414 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005854/1.278, allocations: 293.6 kB / 1.307 GB, free: 9.266 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 7.747e-05/1.278, allocations: 32.06 kB / 1.307 GB, free: 9.25 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/1.279, allocations: 0.6106 MB / 1.308 GB, free: 8.797 MB / 1.154 GB Notification: Performance of pre-optimization done (n=87): time 2.875e-06/1.279, allocations: 0 / 1.308 GB, free: 8.797 MB / 1.154 GB Notification: Performance of matching and sorting (n=87): time 0.003566/1.282, allocations: 1.212 MB / 1.309 GB, free: 8.191 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/1.282, allocations: 194.5 kB / 1.309 GB, free: 7.969 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009576/1.283, allocations: 0.6692 MB / 1.31 GB, free: 7.582 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.475e-05/1.283, allocations: 42.36 kB / 1.31 GB, free: 7.539 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004619/1.284, allocations: 0.5367 MB / 1.31 GB, free: 7.062 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002751/1.284, allocations: 297.4 kB / 1.311 GB, free: 6.805 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002907/1.284, allocations: 172.2 kB / 1.311 GB, free: 6.703 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002389/1.285, allocations: 398.2 kB / 1.311 GB, free: 6.324 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006231/1.285, allocations: 295.2 kB / 1.311 GB, free: 6.176 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008339/1.286, allocations: 0.5078 MB / 1.312 GB, free: 5.797 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/1.287, allocations: 0.6595 MB / 1.312 GB, free: 5.445 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/1.287, allocations: 0 / 1.312 GB, free: 5.445 MB / 1.154 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002157/1.29, allocations: 0.9189 MB / 1.313 GB, free: 4.934 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/1.29, allocations: 4 kB / 1.313 GB, free: 4.93 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/1.29, allocations: 0 / 1.313 GB, free: 4.93 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006137/1.29, allocations: 100.7 kB / 1.313 GB, free: 4.828 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007385/1.291, allocations: 171.8 kB / 1.314 GB, free: 4.66 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/1.293, allocations: 1.507 MB / 1.315 GB, free: 3.051 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007963/1.294, allocations: 89.78 kB / 1.315 GB, free: 2.965 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-05/1.294, allocations: 39.97 kB / 1.315 GB, free: 2.926 MB / 1.154 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.0005039/1.294, allocations: 295.8 kB / 1.316 GB, free: 2.629 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/1.295, allocations: 95.38 kB / 1.316 GB, free: 2.535 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00255/1.297, allocations: 1.121 MB / 1.317 GB, free: 1.395 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/1.297, allocations: 12 kB / 1.317 GB, free: 1.383 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/1.297, allocations: 0 / 1.317 GB, free: 1.383 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/1.297, allocations: 11.92 kB / 1.317 GB, free: 1.371 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/1.298, allocations: 0.7434 MB / 1.317 GB, free: 0.5977 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/1.298, allocations: 0 / 1.317 GB, free: 0.5977 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006496/1.299, allocations: 155.7 kB / 1.318 GB, free: 456 kB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004444/1.299, allocations: 76.72 kB / 1.318 GB, free: 376 kB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.4e-05/1.299, allocations: 27.98 kB / 1.318 GB, free: 348 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001975/1.301, allocations: 1.536 MB / 1.319 GB, free: 14.7 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.301, allocations: 0 / 1.319 GB, free: 14.7 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002139/1.304, allocations: 0.9868 MB / 1.32 GB, free: 13.69 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004385/1.304, allocations: 207.1 kB / 1.32 GB, free: 13.48 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/1.304, allocations: 20 kB / 1.32 GB, free: 13.46 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006467/1.305, allocations: 59.94 kB / 1.32 GB, free: 13.41 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/1.305, allocations: 76.84 kB / 1.321 GB, free: 13.33 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.323e-05/1.305, allocations: 39.98 kB / 1.321 GB, free: 13.29 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006422/1.306, allocations: 483 kB / 1.321 GB, free: 12.83 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/1.306, allocations: 0 / 1.321 GB, free: 12.83 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001085/1.307, allocations: 410.7 kB / 1.321 GB, free: 12.43 MB / 1.17 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.002069/1.309, allocations: 0.6345 MB / 1.322 GB, free: 11.99 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00181/1.311, allocations: 0.8508 MB / 1.323 GB, free: 11.13 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/1.311, allocations: 4 kB / 1.323 GB, free: 11.12 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009815/1.312, allocations: 0.508 MB / 1.323 GB, free: 10.6 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/1.313, allocations: 307.5 kB / 1.324 GB, free: 10.32 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003557/1.316, allocations: 2.033 MB / 1.326 GB, free: 8.258 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005622/1.317, allocations: 0.5211 MB / 1.326 GB, free: 7.703 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008364/1.318, allocations: 267.1 kB / 1.326 GB, free: 7.438 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002859/1.318, allocations: 116.4 kB / 1.326 GB, free: 7.324 MB / 1.17 GB Notification: Performance of SimCode: time 5.72e-07/1.318, allocations: 3.938 kB / 1.327 GB, free: 7.32 MB / 1.17 GB Notification: Performance of Templates: time 0.02893/1.347, allocations: 15.92 MB / 1.342 GB, free: 7.688 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.70290193601977]