Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001617/0.001617, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.001413/0.001413, allocations: 186.9 kB / 22.22 MB, free: 5.164 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.424/1.424, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.6/2.6, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_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_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 71.89 kB / 1.061 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8065/0.8085, allocations: 160.8 MB / 1.218 GB, free: 3.668 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.009794/0.8183, allocations: 7.145 MB / 1.225 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1877/1.006, allocations: 151.8 MB / 1.374 GB, free: 7.793 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001447/1.007, allocations: 27.81 kB / 1.374 GB, free: 7.766 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000907/1.008, allocations: 269.4 kB / 1.374 GB, free: 7.5 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003116/1.011, allocations: 0.7832 MB / 1.375 GB, free: 6.715 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002882/1.014, allocations: 1.038 MB / 1.376 GB, free: 5.684 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003149/1.017, allocations: 2.105 MB / 1.378 GB, free: 3.57 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001415/1.019, allocations: 0.7524 MB / 1.378 GB, free: 2.758 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/1.02, allocations: 0.8449 MB / 1.379 GB, free: 1.91 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00134/1.022, allocations: 0.8909 MB / 1.38 GB, free: 1.016 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004261/1.022, allocations: 216 kB / 1.38 GB, free: 0.8047 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/1.023, allocations: 0.5816 MB / 1.381 GB, free: 228 kB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004972/1.024, allocations: 494.5 kB / 1.381 GB, free: 15.74 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001094/1.025, allocations: 0.9681 MB / 1.382 GB, free: 14.77 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003502/1.028, allocations: 2.677 MB / 1.385 GB, free: 12.08 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/1.028, allocations: 3.938 kB / 1.385 GB, free: 12.08 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.383e-06/1.028, allocations: 0 / 1.385 GB, free: 12.08 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.099e-05/1.028, allocations: 0 / 1.385 GB, free: 12.08 MB / 1.092 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.004355/1.033, allocations: 2.096 MB / 1.387 GB, free: 9.926 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/1.033, allocations: 8.031 kB / 1.387 GB, free: 9.918 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/1.034, allocations: 275.5 kB / 1.387 GB, free: 9.648 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/1.036, allocations: 0.9937 MB / 1.388 GB, free: 8.609 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/1.036, allocations: 148.8 kB / 1.388 GB, free: 8.457 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000209/1.036, allocations: 148 kB / 1.389 GB, free: 8.312 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003025/1.039, allocations: 1.585 MB / 1.39 GB, free: 6.672 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.298e-05/1.039, allocations: 0 / 1.39 GB, free: 6.672 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/1.039, allocations: 71.98 kB / 1.39 GB, free: 6.602 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.645e-05/1.039, allocations: 40 kB / 1.39 GB, free: 6.562 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002815/1.042, allocations: 1.592 MB / 1.392 GB, free: 4.965 MB / 1.092 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.008097/1.05, allocations: 4.703 MB / 1.396 GB, free: 76 kB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002181/1.052, allocations: 1.023 MB / 1.397 GB, free: 15.05 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008015/1.053, allocations: 387.7 kB / 1.398 GB, free: 14.66 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/1.053, allocations: 45.08 kB / 1.398 GB, free: 14.62 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001458/1.055, allocations: 0.7129 MB / 1.398 GB, free: 13.89 MB / 1.107 GB Notification: Performance of pre-optimization done (n=111): time 3.136e-06/1.055, allocations: 0 / 1.398 GB, free: 13.89 MB / 1.107 GB Notification: Performance of matching and sorting (n=111): time 0.004516/1.059, allocations: 1.657 MB / 1.4 GB, free: 12.21 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000198/1.06, allocations: 200.9 kB / 1.4 GB, free: 11.97 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/1.061, allocations: 0.8376 MB / 1.401 GB, free: 11.12 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001232/1.061, allocations: 49.7 kB / 1.401 GB, free: 11.07 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006489/1.062, allocations: 0.6299 MB / 1.402 GB, free: 10.43 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000411/1.062, allocations: 380.8 kB / 1.402 GB, free: 10.05 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003754/1.062, allocations: 226.8 kB / 1.402 GB, free: 9.828 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001815/1.063, allocations: 349.9 kB / 1.403 GB, free: 9.48 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008078/1.063, allocations: 402.4 kB / 1.403 GB, free: 9.086 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009328/1.064, allocations: 0.5111 MB / 1.404 GB, free: 8.559 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/1.066, allocations: 0.8877 MB / 1.404 GB, free: 7.656 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/1.066, allocations: 0 / 1.404 GB, free: 7.656 MB / 1.107 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002789/1.069, allocations: 1.212 MB / 1.406 GB, free: 6.434 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/1.069, allocations: 4 kB / 1.406 GB, free: 6.43 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/1.069, allocations: 4 kB / 1.406 GB, free: 6.426 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006119/1.069, allocations: 88.77 kB / 1.406 GB, free: 6.336 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/1.071, allocations: 227.7 kB / 1.406 GB, free: 6.113 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002431/1.073, allocations: 1.646 MB / 1.408 GB, free: 4.32 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/1.074, allocations: 131.3 kB / 1.408 GB, free: 4.191 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/1.074, allocations: 47.97 kB / 1.408 GB, free: 4.145 MB / 1.107 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.0007321/1.075, allocations: 360.1 kB / 1.408 GB, free: 3.785 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002747/1.075, allocations: 115.2 kB / 1.408 GB, free: 3.672 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003433/1.079, allocations: 1.536 MB / 1.41 GB, free: 2.121 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/1.079, allocations: 15.94 kB / 1.41 GB, free: 2.105 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/1.079, allocations: 0 / 1.41 GB, free: 2.105 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/1.079, allocations: 7.969 kB / 1.41 GB, free: 2.098 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/1.081, allocations: 1.376 MB / 1.411 GB, free: 0.6719 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/1.081, allocations: 0 / 1.411 GB, free: 0.6719 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00094/1.082, allocations: 203.7 kB / 1.411 GB, free: 484 kB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000512/1.082, allocations: 64.8 kB / 1.411 GB, free: 416 kB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/1.082, allocations: 35.97 kB / 1.411 GB, free: 380 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002205/1.084, allocations: 1.674 MB / 1.413 GB, free: 14.55 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.084, allocations: 0 / 1.413 GB, free: 14.55 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003016/1.087, allocations: 1.289 MB / 1.414 GB, free: 13.24 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008348/1.088, allocations: 375.8 kB / 1.415 GB, free: 12.85 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/1.089, allocations: 28 kB / 1.415 GB, free: 12.82 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008635/1.089, allocations: 86.78 kB / 1.415 GB, free: 12.74 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002493/1.09, allocations: 101.1 kB / 1.415 GB, free: 12.64 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/1.09, allocations: 51.95 kB / 1.415 GB, free: 12.59 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0009362/1.091, allocations: 0.6174 MB / 1.415 GB, free: 11.96 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/1.091, allocations: 0 / 1.415 GB, free: 11.96 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001303/1.092, allocations: 490.6 kB / 1.416 GB, free: 11.48 MB / 1.123 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.002134/1.094, allocations: 0.6269 MB / 1.416 GB, free: 11.03 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002549/1.097, allocations: 1.103 MB / 1.418 GB, free: 9.914 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/1.097, allocations: 0 / 1.418 GB, free: 9.914 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001359/1.098, allocations: 0.6465 MB / 1.418 GB, free: 9.254 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/1.1, allocations: 359.1 kB / 1.419 GB, free: 8.914 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004848/1.104, allocations: 2.506 MB / 1.421 GB, free: 6.379 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009869/1.105, allocations: 1.224 MB / 1.422 GB, free: 5.117 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001226/1.107, allocations: 317.3 kB / 1.422 GB, free: 4.805 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003844/1.107, allocations: 143.4 kB / 1.423 GB, free: 4.664 MB / 1.123 GB Notification: Performance of SimCode: time 1.122e-06/1.107, allocations: 3.938 kB / 1.423 GB, free: 4.66 MB / 1.123 GB Notification: Performance of Templates: time 0.04281/1.15, allocations: 21.67 MB / 1.444 GB, free: 15.15 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.642218372784555]