Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.001289/0.001289, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001466/0.001466, allocations: 210.3 kB / 22.99 MB, free: 4.957 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.186/3.186, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") [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.002048/0.002048, allocations: 70.94 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3154, allocations: 176.1 MB / 1.327 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.008913/0.3243, allocations: 6.27 MB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1691/0.4934, allocations: 133.2 MB / 1.463 GB, free: 5.016 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001786/0.4952, allocations: 27.81 kB / 1.463 GB, free: 4.988 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0009496/0.4961, allocations: 277.4 kB / 1.464 GB, free: 4.715 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002707/0.4988, allocations: 0.7976 MB / 1.464 GB, free: 3.918 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002496/0.5013, allocations: 1.029 MB / 1.465 GB, free: 2.895 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002561/0.5039, allocations: 2.12 MB / 1.467 GB, free: 0.7656 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001245/0.5051, allocations: 0.7717 MB / 1.468 GB, free: 15.94 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001186/0.5063, allocations: 0.8605 MB / 1.469 GB, free: 15.08 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/0.5074, allocations: 0.887 MB / 1.47 GB, free: 14.19 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002964/0.5077, allocations: 220 kB / 1.47 GB, free: 13.97 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.5088, allocations: 0.6011 MB / 1.471 GB, free: 13.37 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004591/0.5093, allocations: 0.4907 MB / 1.471 GB, free: 12.88 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0008213/0.5101, allocations: 0.7894 MB / 1.472 GB, free: 12.09 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003155/0.5133, allocations: 2.74 MB / 1.475 GB, free: 9.336 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.5133, allocations: 4 kB / 1.475 GB, free: 9.332 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5133, allocations: 4 kB / 1.475 GB, free: 9.328 MB / 1.17 GB Notification: Performance of Transformations before backend: time 4.237e-05/0.5133, allocations: 0 / 1.475 GB, free: 9.328 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.004246/0.5176, allocations: 2.046 MB / 1.477 GB, free: 7.242 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.5176, allocations: 8.031 kB / 1.477 GB, free: 7.234 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003333/0.521, allocations: 411.5 kB / 1.477 GB, free: 6.832 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001872/0.5228, allocations: 0.9487 MB / 1.478 GB, free: 5.852 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001848/0.523, allocations: 170.5 kB / 1.478 GB, free: 5.672 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002192/0.5232, allocations: 148 kB / 1.478 GB, free: 5.527 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003193/0.5264, allocations: 1.865 MB / 1.48 GB, free: 3.539 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.55e-05/0.5265, allocations: 4 kB / 1.48 GB, free: 3.535 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/0.5266, allocations: 68 kB / 1.48 GB, free: 3.469 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.934e-05/0.5267, allocations: 40 kB / 1.48 GB, free: 3.43 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002832/0.5295, allocations: 1.545 MB / 1.482 GB, free: 1.879 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007025/0.5365, allocations: 3.505 MB / 1.485 GB, free: 14.3 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002074/0.5386, allocations: 1.025 MB / 1.486 GB, free: 13.27 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007582/0.5393, allocations: 399.7 kB / 1.486 GB, free: 12.88 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.036e-05/0.5394, allocations: 28.97 kB / 1.487 GB, free: 12.85 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001388/0.5408, allocations: 0.8254 MB / 1.487 GB, free: 11.98 MB / 1.186 GB Notification: Performance of pre-optimization done (n=111): time 3.787e-06/0.5408, allocations: 0 / 1.487 GB, free: 11.98 MB / 1.186 GB Notification: Performance of matching and sorting (n=111): time 0.004478/0.5453, allocations: 1.574 MB / 1.489 GB, free: 10.39 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.5454, allocations: 196.9 kB / 1.489 GB, free: 10.16 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.5466, allocations: 0.7352 MB / 1.49 GB, free: 9.41 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.000169/0.5468, allocations: 49.7 kB / 1.49 GB, free: 9.355 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006152/0.5474, allocations: 0.6534 MB / 1.49 GB, free: 8.691 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003489/0.5477, allocations: 376.8 kB / 1.491 GB, free: 8.32 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003887/0.5481, allocations: 226.8 kB / 1.491 GB, free: 8.094 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002299/0.5483, allocations: 402.7 kB / 1.491 GB, free: 7.691 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007986/0.5491, allocations: 398.4 kB / 1.492 GB, free: 7.301 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.5502, allocations: 0.6366 MB / 1.492 GB, free: 6.613 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001716/0.5519, allocations: 0.8916 MB / 1.493 GB, free: 5.707 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.5519, allocations: 0 / 1.493 GB, free: 5.707 MB / 1.186 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002929/0.5548, allocations: 1.204 MB / 1.494 GB, free: 4.492 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.5548, allocations: 7.984 kB / 1.494 GB, free: 4.484 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.5548, allocations: 0 / 1.494 GB, free: 4.484 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007058/0.5555, allocations: 84.84 kB / 1.495 GB, free: 4.398 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.5566, allocations: 231.6 kB / 1.495 GB, free: 4.172 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002359/0.559, allocations: 1.52 MB / 1.496 GB, free: 2.543 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/0.5602, allocations: 121.3 kB / 1.496 GB, free: 2.426 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/0.5603, allocations: 51.95 kB / 1.496 GB, free: 2.375 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 134 * 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.0007319/0.561, allocations: 357.6 kB / 1.497 GB, free: 2.02 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002674/0.5613, allocations: 107.3 kB / 1.497 GB, free: 1.914 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003639/0.5649, allocations: 1.516 MB / 1.498 GB, free: 392 kB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.5649, allocations: 12 kB / 1.498 GB, free: 380 kB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.5649, allocations: 0 / 1.498 GB, free: 380 kB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/0.565, allocations: 11.91 kB / 1.498 GB, free: 368 kB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.5665, allocations: 0.9592 MB / 1.499 GB, free: 15.37 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.5665, allocations: 0 / 1.499 GB, free: 15.37 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008975/0.5674, allocations: 195.8 kB / 1.499 GB, free: 15.18 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005108/0.5679, allocations: 80.66 kB / 1.5 GB, free: 15.1 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.688e-05/0.568, allocations: 39.97 kB / 1.5 GB, free: 15.06 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002132/0.5701, allocations: 1.528 MB / 1.501 GB, free: 13.42 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5701, allocations: 0 / 1.501 GB, free: 13.42 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002867/0.573, allocations: 1.277 MB / 1.502 GB, free: 12.12 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006426/0.5736, allocations: 274.8 kB / 1.503 GB, free: 11.86 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001835/0.5738, allocations: 31.95 kB / 1.503 GB, free: 11.82 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009321/0.5747, allocations: 91.91 kB / 1.503 GB, free: 11.73 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002182/0.5749, allocations: 101.3 kB / 1.503 GB, free: 11.64 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.5751, allocations: 51.95 kB / 1.503 GB, free: 11.59 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007974/0.5759, allocations: 0.542 MB / 1.503 GB, free: 11.05 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.5759, allocations: 0 / 1.503 GB, free: 11.05 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001218/0.5771, allocations: 0.4906 MB / 1.504 GB, free: 10.55 MB / 1.201 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,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002137/0.5792, allocations: 0.6662 MB / 1.505 GB, free: 10.09 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002423/0.5816, allocations: 1.103 MB / 1.506 GB, free: 8.973 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.5816, allocations: 0 / 1.506 GB, free: 8.973 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001287/0.5829, allocations: 0.6347 MB / 1.506 GB, free: 8.328 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/0.5844, allocations: 318.9 kB / 1.507 GB, free: 8.043 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004617/0.589, allocations: 2.52 MB / 1.509 GB, free: 5.488 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007311/0.5897, allocations: 0.6505 MB / 1.51 GB, free: 4.797 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001058/0.5908, allocations: 304.5 kB / 1.51 GB, free: 4.496 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004057/0.5912, allocations: 139.3 kB / 1.51 GB, free: 4.359 MB / 1.201 GB Notification: Performance of SimCode: time 9.62e-07/0.5912, allocations: 0 / 1.51 GB, free: 4.359 MB / 1.201 GB Notification: Performance of Templates: time 0.03803/0.6292, allocations: 21.87 MB / 1.531 GB, free: 14.76 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.667001306006568]