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.002221/0.002221, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002331/0.002331, allocations: 207.9 kB / 22.99 MB, free: 4.984 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.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 3.161/3.161, allocations: 0.49 GB / 0.7959 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 177] 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.00201/0.00201, allocations: 67.38 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3086, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007577/0.3162, allocations: 5.355 MB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1704/0.4866, allocations: 132.9 MB / 1.462 GB, free: 6.23 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/0.4879, allocations: 31.75 kB / 1.462 GB, free: 6.199 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007987/0.4887, allocations: 245.7 kB / 1.462 GB, free: 5.957 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002078/0.4907, allocations: 0.6514 MB / 1.463 GB, free: 5.305 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00222/0.493, allocations: 0.8971 MB / 1.464 GB, free: 4.414 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002106/0.4951, allocations: 1.673 MB / 1.465 GB, free: 2.734 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/0.4962, allocations: 0.5972 MB / 1.466 GB, free: 2.094 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.4972, allocations: 0.6462 MB / 1.467 GB, free: 1.445 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007992/0.498, allocations: 0.669 MB / 1.467 GB, free: 0.7734 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002219/0.4982, allocations: 156 kB / 1.467 GB, free: 0.6211 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.4993, allocations: 0.5348 MB / 1.468 GB, free: 88 kB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004402/0.4997, allocations: 382.7 kB / 1.468 GB, free: 15.71 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005983/0.5003, allocations: 0.5987 MB / 1.469 GB, free: 15.11 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002494/0.5028, allocations: 2.101 MB / 1.471 GB, free: 13 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.5028, allocations: 0 / 1.471 GB, free: 13 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5028, allocations: 4 kB / 1.471 GB, free: 13 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.085e-05/0.5028, allocations: 0 / 1.471 GB, free: 13 MB / 1.17 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.003212/0.506, allocations: 1.709 MB / 1.473 GB, free: 11.25 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.5061, allocations: 12.03 kB / 1.473 GB, free: 11.24 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/0.5077, allocations: 275.8 kB / 1.473 GB, free: 10.97 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/0.5092, allocations: 0.8079 MB / 1.474 GB, free: 10.13 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.173e-05/0.5093, allocations: 94.41 kB / 1.474 GB, free: 10.04 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/0.5095, allocations: 112 kB / 1.474 GB, free: 9.93 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002365/0.5118, allocations: 1.457 MB / 1.475 GB, free: 8.348 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.141e-05/0.5118, allocations: 3.938 kB / 1.475 GB, free: 8.344 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.512, allocations: 52 kB / 1.475 GB, free: 8.293 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.751e-05/0.512, allocations: 28 kB / 1.475 GB, free: 8.266 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00221/0.5142, allocations: 1.242 MB / 1.477 GB, free: 7.016 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004744/0.5189, allocations: 2.605 MB / 1.479 GB, free: 4.352 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.5205, allocations: 0.8104 MB / 1.48 GB, free: 3.531 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000569/0.5211, allocations: 298.7 kB / 1.48 GB, free: 3.238 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.309e-05/0.5212, allocations: 32.56 kB / 1.48 GB, free: 3.207 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001021/0.5222, allocations: 0.6163 MB / 1.481 GB, free: 2.547 MB / 1.17 GB Notification: Performance of pre-optimization done (n=87): time 2.705e-06/0.5222, allocations: 0 / 1.481 GB, free: 2.547 MB / 1.17 GB Notification: Performance of matching and sorting (n=87): time 0.003557/0.5258, allocations: 1.209 MB / 1.482 GB, free: 1.328 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.5259, allocations: 192.9 kB / 1.482 GB, free: 1.098 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008907/0.5268, allocations: 0.6724 MB / 1.483 GB, free: 428 kB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.929e-05/0.5269, allocations: 41.7 kB / 1.483 GB, free: 380 kB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004606/0.5273, allocations: 0.5361 MB / 1.484 GB, free: 15.82 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.000259/0.5276, allocations: 305.4 kB / 1.484 GB, free: 15.52 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004138/0.528, allocations: 178.6 kB / 1.484 GB, free: 15.34 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002925/0.5283, allocations: 394.7 kB / 1.484 GB, free: 14.95 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006261/0.5289, allocations: 289.8 kB / 1.485 GB, free: 14.66 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007757/0.5297, allocations: 0.5074 MB / 1.485 GB, free: 14.11 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.531, allocations: 0.6594 MB / 1.486 GB, free: 13.44 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.531, allocations: 0 / 1.486 GB, free: 13.44 MB / 1.186 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002217/0.5333, allocations: 0.9194 MB / 1.487 GB, free: 12.52 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.5333, allocations: 8 kB / 1.487 GB, free: 12.51 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.5333, allocations: 0 / 1.487 GB, free: 12.51 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007098/0.534, allocations: 88.8 kB / 1.487 GB, free: 12.42 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000756/0.5348, allocations: 179.7 kB / 1.487 GB, free: 12.24 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002407/0.5372, allocations: 1.5 MB / 1.488 GB, free: 10.63 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007776/0.5379, allocations: 87.58 kB / 1.488 GB, free: 10.55 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.267e-05/0.538, allocations: 39.97 kB / 1.489 GB, free: 10.51 MB / 1.186 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.0005145/0.5385, allocations: 303.8 kB / 1.489 GB, free: 10.2 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/0.5387, allocations: 95.5 kB / 1.489 GB, free: 10.11 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002665/0.5414, allocations: 1.121 MB / 1.49 GB, free: 8.965 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.5414, allocations: 8 kB / 1.49 GB, free: 8.957 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5414, allocations: 0 / 1.49 GB, free: 8.957 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/0.5414, allocations: 15.91 kB / 1.49 GB, free: 8.941 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.5425, allocations: 0.7394 MB / 1.491 GB, free: 8.172 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.483e-06/0.5425, allocations: 3.984 kB / 1.491 GB, free: 8.168 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006699/0.5432, allocations: 159.8 kB / 1.491 GB, free: 8.012 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004596/0.5436, allocations: 68.78 kB / 1.491 GB, free: 7.941 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.32e-05/0.5437, allocations: 31.98 kB / 1.491 GB, free: 7.91 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/0.5457, allocations: 1.52 MB / 1.492 GB, free: 6.281 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5457, allocations: 64 / 1.492 GB, free: 6.281 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002197/0.5479, allocations: 0.9868 MB / 1.493 GB, free: 5.277 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004541/0.5484, allocations: 211.2 kB / 1.494 GB, free: 5.07 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.5485, allocations: 24 kB / 1.494 GB, free: 5.047 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007114/0.5492, allocations: 67.91 kB / 1.494 GB, free: 4.98 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.5494, allocations: 76.8 kB / 1.494 GB, free: 4.902 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.933e-05/0.5495, allocations: 39.97 kB / 1.494 GB, free: 4.863 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006507/0.5501, allocations: 479 kB / 1.494 GB, free: 4.402 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5501, allocations: 0 / 1.494 GB, free: 4.402 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001035/0.5512, allocations: 402.8 kB / 1.495 GB, free: 4.008 MB / 1.186 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.002237/0.5534, allocations: 0.6479 MB / 1.495 GB, free: 3.57 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001868/0.5553, allocations: 0.8548 MB / 1.496 GB, free: 2.703 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.5553, allocations: 3.938 kB / 1.496 GB, free: 2.699 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.5563, allocations: 0.5119 MB / 1.497 GB, free: 2.176 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.5575, allocations: 308.1 kB / 1.497 GB, free: 1.891 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00371/0.5612, allocations: 2.017 MB / 1.499 GB, free: 15.84 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005926/0.5618, allocations: 0.522 MB / 1.499 GB, free: 15.28 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008363/0.5626, allocations: 275.1 kB / 1.5 GB, free: 15.01 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003032/0.5629, allocations: 111.4 kB / 1.5 GB, free: 14.9 MB / 1.201 GB Notification: Performance of SimCode: time 7.12e-07/0.5629, allocations: 0 / 1.5 GB, free: 14.9 MB / 1.201 GB Notification: Performance of Templates: time 0.03067/0.5936, allocations: 17.59 MB / 1.517 GB, free: 13.57 MB / 1.217 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 gbode -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.398840078007197]