Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001324/0.001324, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002654/0.002654, allocations: 157.6 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.536/1.536, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] 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 2.88/2.88, allocations: 394.2 MB / 0.6386 GB, free: 11.97 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_latest_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_latest_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.002152/0.002152, allocations: 76.16 kB / 1.009 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8971/0.8992, allocations: 181.8 MB / 1.187 GB, free: 16.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007782/0.907, allocations: 6.274 MB / 1.193 GB, free: 12.05 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1851/1.092, allocations: 133.2 MB / 1.323 GB, free: 10.37 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001162/1.093, allocations: 27.81 kB / 1.323 GB, free: 10.34 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007674/1.094, allocations: 269.4 kB / 1.323 GB, free: 10.08 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002495/1.097, allocations: 0.8022 MB / 1.324 GB, free: 9.277 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002711/1.099, allocations: 1.035 MB / 1.325 GB, free: 8.25 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00249/1.102, allocations: 2.116 MB / 1.327 GB, free: 6.125 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/1.103, allocations: 0.7367 MB / 1.328 GB, free: 5.336 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/1.104, allocations: 0.8604 MB / 1.329 GB, free: 4.473 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/1.105, allocations: 0.7836 MB / 1.329 GB, free: 3.688 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003212/1.105, allocations: 220 kB / 1.329 GB, free: 3.473 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/1.107, allocations: 0.5778 MB / 1.33 GB, free: 2.895 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004881/1.107, allocations: 0.4907 MB / 1.331 GB, free: 2.402 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0008642/1.108, allocations: 0.7933 MB / 1.331 GB, free: 1.605 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003062/1.111, allocations: 2.743 MB / 1.334 GB, free: 14.86 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/1.111, allocations: 0 / 1.334 GB, free: 14.86 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.112e-06/1.111, allocations: 0 / 1.334 GB, free: 14.86 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.091e-05/1.111, allocations: 0 / 1.334 GB, free: 14.86 MB / 1.186 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.003752/1.115, allocations: 2.048 MB / 1.336 GB, free: 12.77 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/1.115, allocations: 12.03 kB / 1.336 GB, free: 12.75 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003147/1.118, allocations: 407.5 kB / 1.336 GB, free: 12.36 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/1.12, allocations: 0.9409 MB / 1.337 GB, free: 11.38 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001828/1.12, allocations: 178.5 kB / 1.337 GB, free: 11.2 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000206/1.12, allocations: 152 kB / 1.338 GB, free: 11.05 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002929/1.123, allocations: 1.869 MB / 1.339 GB, free: 9.055 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.281e-05/1.123, allocations: 0 / 1.339 GB, free: 9.055 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000143/1.123, allocations: 64 kB / 1.34 GB, free: 8.992 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.254e-05/1.123, allocations: 36 kB / 1.34 GB, free: 8.957 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002744/1.126, allocations: 1.557 MB / 1.341 GB, free: 7.395 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006421/1.132, allocations: 3.515 MB / 1.344 GB, free: 3.809 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/1.134, allocations: 1.02 MB / 1.345 GB, free: 2.785 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007544/1.135, allocations: 395.8 kB / 1.346 GB, free: 2.398 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.702e-05/1.135, allocations: 32.97 kB / 1.346 GB, free: 2.363 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001336/1.137, allocations: 0.8272 MB / 1.347 GB, free: 1.492 MB / 1.186 GB Notification: Performance of pre-optimization done (n=111): time 2.735e-06/1.137, allocations: 0 / 1.347 GB, free: 1.492 MB / 1.186 GB Notification: Performance of matching and sorting (n=111): time 0.004202/1.141, allocations: 1.574 MB / 1.348 GB, free: 15.91 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/1.141, allocations: 196.9 kB / 1.348 GB, free: 15.67 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/1.142, allocations: 0.7352 MB / 1.349 GB, free: 14.93 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.641e-05/1.142, allocations: 49.7 kB / 1.349 GB, free: 14.88 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005532/1.143, allocations: 0.6454 MB / 1.35 GB, free: 14.22 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003535/1.143, allocations: 376.9 kB / 1.35 GB, free: 13.85 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000371/1.143, allocations: 226.8 kB / 1.35 GB, free: 13.62 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002166/1.143, allocations: 398.7 kB / 1.351 GB, free: 13.22 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008058/1.144, allocations: 406.4 kB / 1.351 GB, free: 12.82 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/1.145, allocations: 0.6366 MB / 1.352 GB, free: 12.14 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001718/1.147, allocations: 0.8876 MB / 1.353 GB, free: 11.23 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/1.147, allocations: 0 / 1.353 GB, free: 11.23 MB / 1.201 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002795/1.15, allocations: 1.204 MB / 1.354 GB, free: 10.02 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/1.15, allocations: 12.12 kB / 1.354 GB, free: 10.01 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/1.15, allocations: 0 / 1.354 GB, free: 10.01 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00061/1.15, allocations: 80.77 kB / 1.354 GB, free: 9.926 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009974/1.151, allocations: 235.7 kB / 1.354 GB, free: 9.695 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002177/1.154, allocations: 1.516 MB / 1.356 GB, free: 8.074 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009413/1.155, allocations: 115.4 kB / 1.356 GB, free: 7.961 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/1.155, allocations: 47.95 kB / 1.356 GB, free: 7.914 MB / 1.201 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.0005857/1.155, allocations: 372.2 kB / 1.356 GB, free: 7.539 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002168/1.155, allocations: 103.3 kB / 1.356 GB, free: 7.438 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003472/1.159, allocations: 1.52 MB / 1.358 GB, free: 5.902 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/1.159, allocations: 12 kB / 1.358 GB, free: 5.891 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/1.159, allocations: 4 kB / 1.358 GB, free: 5.887 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/1.159, allocations: 7.969 kB / 1.358 GB, free: 5.879 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/1.16, allocations: 0.9477 MB / 1.359 GB, free: 4.902 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/1.16, allocations: 0 / 1.359 GB, free: 4.902 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008905/1.161, allocations: 199.7 kB / 1.359 GB, free: 4.707 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004649/1.162, allocations: 76.72 kB / 1.359 GB, free: 4.629 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.22e-05/1.162, allocations: 35.97 kB / 1.359 GB, free: 4.594 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002015/1.164, allocations: 1.544 MB / 1.36 GB, free: 2.938 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/1.164, allocations: 0 / 1.36 GB, free: 2.938 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002707/1.166, allocations: 1.274 MB / 1.362 GB, free: 1.645 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005678/1.167, allocations: 270.9 kB / 1.362 GB, free: 1.379 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/1.167, allocations: 35.89 kB / 1.362 GB, free: 1.344 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009229/1.168, allocations: 88.78 kB / 1.362 GB, free: 1.258 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002573/1.168, allocations: 97.12 kB / 1.362 GB, free: 1.164 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/1.169, allocations: 55.95 kB / 1.362 GB, free: 1.109 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0009901/1.17, allocations: 0.5419 MB / 1.363 GB, free: 0.5703 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/1.17, allocations: 0 / 1.363 GB, free: 0.5703 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001739/1.171, allocations: 498.5 kB / 1.363 GB, free: 84 kB / 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.002282/1.174, allocations: 0.6651 MB / 1.364 GB, free: 15.62 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002388/1.176, allocations: 1.107 MB / 1.365 GB, free: 14.5 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.176, allocations: 0 / 1.365 GB, free: 14.5 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001254/1.177, allocations: 0.6389 MB / 1.366 GB, free: 13.85 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/1.179, allocations: 310.7 kB / 1.366 GB, free: 13.57 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004676/1.183, allocations: 2.519 MB / 1.368 GB, free: 11.02 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007864/1.184, allocations: 0.6433 MB / 1.369 GB, free: 10.34 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001008/1.185, allocations: 308.4 kB / 1.369 GB, free: 10.03 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003894/1.185, allocations: 144.4 kB / 1.369 GB, free: 9.891 MB / 1.217 GB Notification: Performance of SimCode: time 1.022e-06/1.185, allocations: 0 / 1.369 GB, free: 9.891 MB / 1.217 GB Notification: Performance of Templates: time 0.03697/1.222, allocations: 19.72 MB / 1.389 GB, free: 6.449 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.976022240938619]