Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.001908/0.001908, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.002255/0.002255, allocations: 201.1 kB / 22.17 MB, free: 5.211 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.476/1.476, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.8/2.8, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_11_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_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 71.83 kB / 1.109 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7874/0.7896, allocations: 168.7 MB / 1.274 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.01028/0.7999, allocations: 7.099 MB / 1.281 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1852/0.9851, allocations: 151.7 MB / 1.429 GB, free: 5.074 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001215/0.9863, allocations: 15.94 kB / 1.429 GB, free: 5.059 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0008194/0.9871, allocations: 269.3 kB / 1.429 GB, free: 4.793 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002717/0.9898, allocations: 0.7879 MB / 1.43 GB, free: 4.004 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002602/0.9924, allocations: 1.035 MB / 1.431 GB, free: 2.977 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002686/0.9951, allocations: 2.097 MB / 1.433 GB, free: 0.8711 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001274/0.9964, allocations: 0.7477 MB / 1.434 GB, free: 76 kB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/0.9977, allocations: 0.841 MB / 1.435 GB, free: 15.23 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.9989, allocations: 0.887 MB / 1.436 GB, free: 14.34 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002859/0.9991, allocations: 216 kB / 1.436 GB, free: 14.13 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/1, allocations: 0.5738 MB / 1.436 GB, free: 13.55 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004815/1.001, allocations: 494.5 kB / 1.437 GB, free: 13.07 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0009753/1.002, allocations: 0.9643 MB / 1.438 GB, free: 12.1 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003477/1.005, allocations: 2.689 MB / 1.44 GB, free: 9.402 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/1.005, allocations: 0 / 1.44 GB, free: 9.402 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.154e-06/1.005, allocations: 0 / 1.44 GB, free: 9.402 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.197e-05/1.005, allocations: 0 / 1.44 GB, free: 9.402 MB / 1.139 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.00433/1.01, allocations: 2.093 MB / 1.443 GB, free: 7.254 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.992e-05/1.01, allocations: 12.03 kB / 1.443 GB, free: 7.242 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/1.011, allocations: 267.6 kB / 1.443 GB, free: 6.98 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/1.012, allocations: 0.9975 MB / 1.444 GB, free: 5.938 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/1.013, allocations: 144.8 kB / 1.444 GB, free: 5.789 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002186/1.013, allocations: 152 kB / 1.444 GB, free: 5.641 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002835/1.016, allocations: 1.589 MB / 1.446 GB, free: 3.996 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.195e-05/1.016, allocations: 4 kB / 1.446 GB, free: 3.992 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001523/1.016, allocations: 64 kB / 1.446 GB, free: 3.93 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-05/1.016, allocations: 40 kB / 1.446 GB, free: 3.891 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002787/1.019, allocations: 1.592 MB / 1.447 GB, free: 2.293 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00781/1.027, allocations: 4.698 MB / 1.452 GB, free: 13.4 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00219/1.029, allocations: 1.027 MB / 1.453 GB, free: 12.37 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007795/1.03, allocations: 391.6 kB / 1.453 GB, free: 11.99 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/1.03, allocations: 49.06 kB / 1.453 GB, free: 11.94 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001357/1.031, allocations: 0.7058 MB / 1.454 GB, free: 11.21 MB / 1.154 GB Notification: Performance of pre-optimization done (n=111): time 3.967e-06/1.031, allocations: 0 / 1.454 GB, free: 11.21 MB / 1.154 GB Notification: Performance of matching and sorting (n=111): time 0.004404/1.035, allocations: 1.657 MB / 1.456 GB, free: 9.535 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/1.036, allocations: 200.9 kB / 1.456 GB, free: 9.293 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/1.037, allocations: 0.8415 MB / 1.457 GB, free: 8.445 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001192/1.037, allocations: 49.7 kB / 1.457 GB, free: 8.391 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005987/1.038, allocations: 0.6299 MB / 1.457 GB, free: 7.754 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003587/1.038, allocations: 372.8 kB / 1.458 GB, free: 7.387 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003718/1.038, allocations: 226.8 kB / 1.458 GB, free: 7.156 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001715/1.038, allocations: 353.9 kB / 1.458 GB, free: 6.805 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008226/1.039, allocations: 394.4 kB / 1.459 GB, free: 6.422 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000981/1.04, allocations: 0.5111 MB / 1.459 GB, free: 5.891 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00171/1.042, allocations: 0.8916 MB / 1.46 GB, free: 4.984 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/1.042, allocations: 0 / 1.46 GB, free: 4.984 MB / 1.154 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002868/1.045, allocations: 1.208 MB / 1.461 GB, free: 3.766 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/1.045, allocations: 5.688 kB / 1.461 GB, free: 3.762 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/1.045, allocations: 8 kB / 1.461 GB, free: 3.754 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006418/1.046, allocations: 84.7 kB / 1.461 GB, free: 3.668 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/1.047, allocations: 231.7 kB / 1.461 GB, free: 3.441 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002332/1.049, allocations: 1.65 MB / 1.463 GB, free: 1.648 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/1.05, allocations: 131.2 kB / 1.463 GB, free: 1.52 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/1.05, allocations: 51.95 kB / 1.463 GB, free: 1.469 MB / 1.154 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.0007083/1.051, allocations: 360.1 kB / 1.464 GB, free: 1.105 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002484/1.051, allocations: 115.2 kB / 1.464 GB, free: 0.9922 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003506/1.055, allocations: 1.532 MB / 1.465 GB, free: 15.45 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/1.055, allocations: 12 kB / 1.465 GB, free: 15.43 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/1.055, allocations: 0 / 1.465 GB, free: 15.43 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.955e-05/1.055, allocations: 7.969 kB / 1.465 GB, free: 15.43 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/1.056, allocations: 1.38 MB / 1.466 GB, free: 13.99 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/1.056, allocations: 7.938 kB / 1.466 GB, free: 13.98 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008732/1.057, allocations: 195.7 kB / 1.467 GB, free: 13.79 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004811/1.058, allocations: 76.78 kB / 1.467 GB, free: 13.71 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.07e-05/1.058, allocations: 31.97 kB / 1.467 GB, free: 13.68 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002305/1.06, allocations: 1.685 MB / 1.468 GB, free: 11.85 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.06, allocations: 0 / 1.468 GB, free: 11.85 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002824/1.063, allocations: 1.285 MB / 1.47 GB, free: 10.55 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006303/1.064, allocations: 367.8 kB / 1.47 GB, free: 10.17 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001877/1.064, allocations: 31.95 kB / 1.47 GB, free: 10.14 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008859/1.065, allocations: 85.94 kB / 1.47 GB, free: 10.05 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002059/1.065, allocations: 101.2 kB / 1.47 GB, free: 9.953 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/1.065, allocations: 47.97 kB / 1.47 GB, free: 9.906 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0009077/1.066, allocations: 0.6135 MB / 1.471 GB, free: 9.281 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/1.066, allocations: 0 / 1.471 GB, free: 9.281 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001258/1.067, allocations: 482.6 kB / 1.471 GB, free: 8.809 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: 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.002148/1.069, allocations: 0.6173 MB / 1.472 GB, free: 8.375 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002497/1.072, allocations: 1.107 MB / 1.473 GB, free: 7.254 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.072, allocations: 8.062 kB / 1.473 GB, free: 7.246 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001221/1.073, allocations: 0.6385 MB / 1.474 GB, free: 6.598 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/1.075, allocations: 352.8 kB / 1.474 GB, free: 6.273 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004579/1.079, allocations: 2.51 MB / 1.476 GB, free: 3.727 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008876/1.08, allocations: 1.222 MB / 1.478 GB, free: 2.473 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009992/1.081, allocations: 317.2 kB / 1.478 GB, free: 2.16 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003853/1.081, allocations: 155.3 kB / 1.478 GB, free: 2.008 MB / 1.17 GB Notification: Performance of SimCode: time 1.052e-06/1.081, allocations: 0 / 1.478 GB, free: 2.008 MB / 1.17 GB Notification: Performance of Templates: time 0.03889/1.12, allocations: 21.36 MB / 1.499 GB, free: 12.85 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.752200310118496]