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.001309/0.001309, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001363/0.001363, allocations: 191.5 kB / 22.17 MB, free: 5.656 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.433/1.433, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.615/2.615, allocations: 443.5 MB / 0.732 GB, free: 12.54 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.002042/0.002042, allocations: 71.88 kB / 1.061 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7888/0.7908, allocations: 160.7 MB / 1.218 GB, free: 4.109 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.00999/0.8008, allocations: 7.139 MB / 1.225 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1855/0.9863, allocations: 151.7 MB / 1.373 GB, free: 8.156 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001559/0.9878, allocations: 15.94 kB / 1.373 GB, free: 8.141 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.989, allocations: 273.4 kB / 1.374 GB, free: 7.871 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003453/0.9925, allocations: 0.7761 MB / 1.374 GB, free: 7.094 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002997/0.9955, allocations: 1.053 MB / 1.375 GB, free: 6.047 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003146/0.9986, allocations: 2.081 MB / 1.377 GB, free: 3.957 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001238/0.9999, allocations: 0.7594 MB / 1.378 GB, free: 3.145 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/1.001, allocations: 0.8332 MB / 1.379 GB, free: 2.309 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/1.002, allocations: 0.8792 MB / 1.38 GB, free: 1.426 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002646/1.002, allocations: 220 kB / 1.38 GB, free: 1.211 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/1.004, allocations: 0.5739 MB / 1.381 GB, free: 0.6367 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.00045/1.004, allocations: 494.5 kB / 1.381 GB, free: 156 kB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001025/1.005, allocations: 0.9682 MB / 1.382 GB, free: 15.18 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003388/1.008, allocations: 2.681 MB / 1.385 GB, free: 12.49 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/1.008, allocations: 0 / 1.385 GB, free: 12.49 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.583e-06/1.008, allocations: 0 / 1.385 GB, free: 12.49 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.15e-05/1.008, allocations: 0 / 1.385 GB, free: 12.49 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.003917/1.012, allocations: 2.1 MB / 1.387 GB, free: 10.33 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/1.012, allocations: 12.56 kB / 1.387 GB, free: 10.32 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/1.013, allocations: 271.6 kB / 1.387 GB, free: 10.05 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/1.015, allocations: 0.9859 MB / 1.388 GB, free: 9.023 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001634/1.015, allocations: 148.8 kB / 1.388 GB, free: 8.871 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/1.015, allocations: 155.9 kB / 1.388 GB, free: 8.719 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00271/1.018, allocations: 1.589 MB / 1.39 GB, free: 7.074 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.231e-05/1.018, allocations: 0 / 1.39 GB, free: 7.074 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/1.018, allocations: 68 kB / 1.39 GB, free: 7.008 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.27e-05/1.018, allocations: 36 kB / 1.39 GB, free: 6.973 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002723/1.021, allocations: 1.6 MB / 1.391 GB, free: 5.367 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.007213/1.028, allocations: 4.7 MB / 1.396 GB, free: 492 kB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/1.03, allocations: 1.024 MB / 1.397 GB, free: 15.45 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000739/1.031, allocations: 399.6 kB / 1.397 GB, free: 15.05 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 9.492e-05/1.031, allocations: 48.83 kB / 1.397 GB, free: 15.01 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001238/1.032, allocations: 0.6962 MB / 1.398 GB, free: 14.29 MB / 1.107 GB Notification: Performance of pre-optimization done (n=111): time 3.025e-06/1.032, allocations: 3.938 kB / 1.398 GB, free: 14.29 MB / 1.107 GB Notification: Performance of matching and sorting (n=111): time 0.004166/1.037, allocations: 1.661 MB / 1.4 GB, free: 12.6 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/1.037, allocations: 196.9 kB / 1.4 GB, free: 12.37 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/1.038, allocations: 0.8415 MB / 1.401 GB, free: 11.52 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/1.038, allocations: 45.7 kB / 1.401 GB, free: 11.46 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006742/1.039, allocations: 0.6299 MB / 1.401 GB, free: 10.83 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003395/1.039, allocations: 380.8 kB / 1.402 GB, free: 10.45 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003627/1.039, allocations: 230.7 kB / 1.402 GB, free: 10.22 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001742/1.039, allocations: 345.9 kB / 1.402 GB, free: 9.875 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007987/1.04, allocations: 406.4 kB / 1.403 GB, free: 9.48 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009339/1.041, allocations: 0.5071 MB / 1.403 GB, free: 8.953 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001754/1.043, allocations: 0.8916 MB / 1.404 GB, free: 8.047 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/1.043, allocations: 0 / 1.404 GB, free: 8.047 MB / 1.107 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.00277/1.046, allocations: 1.212 MB / 1.405 GB, free: 6.824 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/1.046, allocations: 4 kB / 1.405 GB, free: 6.82 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/1.046, allocations: 4 kB / 1.405 GB, free: 6.816 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006037/1.046, allocations: 84.83 kB / 1.405 GB, free: 6.73 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009815/1.047, allocations: 227.7 kB / 1.406 GB, free: 6.508 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002231/1.05, allocations: 1.651 MB / 1.407 GB, free: 4.711 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/1.051, allocations: 137.5 kB / 1.407 GB, free: 4.578 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/1.051, allocations: 47.97 kB / 1.407 GB, free: 4.531 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.0006809/1.051, allocations: 356.2 kB / 1.408 GB, free: 4.176 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002596/1.052, allocations: 115.2 kB / 1.408 GB, free: 4.062 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003557/1.055, allocations: 1.528 MB / 1.409 GB, free: 2.52 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/1.055, allocations: 12 kB / 1.409 GB, free: 2.508 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/1.055, allocations: 4 kB / 1.409 GB, free: 2.504 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.932e-05/1.055, allocations: 7.969 kB / 1.409 GB, free: 2.496 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002514/1.058, allocations: 1.38 MB / 1.411 GB, free: 1.062 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/1.058, allocations: 0 / 1.411 GB, free: 1.062 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009229/1.059, allocations: 199.7 kB / 1.411 GB, free: 0.8672 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000489/1.059, allocations: 68.8 kB / 1.411 GB, free: 0.7969 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.442e-05/1.059, allocations: 39.91 kB / 1.411 GB, free: 0.7578 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002154/1.061, allocations: 1.674 MB / 1.413 GB, free: 14.94 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.061, allocations: 0 / 1.413 GB, free: 14.94 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002877/1.064, allocations: 1.293 MB / 1.414 GB, free: 13.62 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006701/1.065, allocations: 367.8 kB / 1.414 GB, free: 13.25 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/1.065, allocations: 28 kB / 1.414 GB, free: 13.22 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000868/1.066, allocations: 79.91 kB / 1.414 GB, free: 13.14 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/1.066, allocations: 97.17 kB / 1.414 GB, free: 13.04 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.936e-05/1.066, allocations: 55.91 kB / 1.414 GB, free: 12.99 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0009069/1.067, allocations: 0.6174 MB / 1.415 GB, free: 12.36 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/1.067, allocations: 0 / 1.415 GB, free: 12.36 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001235/1.069, allocations: 490.6 kB / 1.416 GB, free: 11.88 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.001982/1.071, allocations: 0.6172 MB / 1.416 GB, free: 11.43 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002401/1.073, allocations: 1.107 MB / 1.417 GB, free: 10.31 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.073, allocations: 4 kB / 1.417 GB, free: 10.31 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001214/1.074, allocations: 0.6388 MB / 1.418 GB, free: 9.66 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/1.076, allocations: 355.2 kB / 1.418 GB, free: 9.332 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004546/1.08, allocations: 2.515 MB / 1.421 GB, free: 6.777 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/1.081, allocations: 1.22 MB / 1.422 GB, free: 5.52 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.00155/1.083, allocations: 325.2 kB / 1.422 GB, free: 5.199 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006013/1.083, allocations: 143.4 kB / 1.422 GB, free: 5.059 MB / 1.123 GB Notification: Performance of SimCode: time 7.61e-07/1.083, allocations: 0 / 1.422 GB, free: 5.059 MB / 1.123 GB Notification: Performance of Templates: time 0.03761/1.121, allocations: 21.38 MB / 1.443 GB, free: 15.85 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.4889179430902]