Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.001367/0.001367, 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.001578/0.001578, allocations: 197.3 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.465/1.465, 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 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.848/2.848, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 176] 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.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.zen",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.zen",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 67.89 kB / 1.109 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8413/0.8434, allocations: 168.7 MB / 1.274 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007629/0.851, allocations: 4.979 MB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1809/1.032, allocations: 151.2 MB / 1.427 GB, free: 7.762 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007775/1.033, allocations: 19.88 kB / 1.427 GB, free: 7.742 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006114/1.033, allocations: 198.1 kB / 1.427 GB, free: 7.547 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001786/1.035, allocations: 0.5598 MB / 1.427 GB, free: 6.988 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002005/1.037, allocations: 0.8701 MB / 1.428 GB, free: 6.125 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001852/1.039, allocations: 1.436 MB / 1.43 GB, free: 4.684 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007565/1.04, allocations: 413.3 kB / 1.43 GB, free: 4.258 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007515/1.04, allocations: 0.5022 MB / 1.43 GB, free: 3.754 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007081/1.041, allocations: 0.5211 MB / 1.431 GB, free: 3.23 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001879/1.041, allocations: 120 kB / 1.431 GB, free: 3.113 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009629/1.042, allocations: 487.6 kB / 1.432 GB, free: 2.637 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000322/1.043, allocations: 303 kB / 1.432 GB, free: 2.34 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005772/1.043, allocations: 0.5752 MB / 1.432 GB, free: 1.762 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002093/1.045, allocations: 1.677 MB / 1.434 GB, free: 80 kB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/1.045, allocations: 0 / 1.434 GB, free: 80 kB / 1.123 GB Notification: Performance of FrontEnd: time 1.603e-06/1.045, allocations: 0 / 1.434 GB, free: 80 kB / 1.123 GB Notification: Performance of Transformations before backend: time 2.173e-05/1.045, allocations: 0 / 1.434 GB, free: 80 kB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002958/1.048, allocations: 1.497 MB / 1.435 GB, free: 14.52 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/1.048, allocations: 12.03 kB / 1.435 GB, free: 14.51 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009456/1.049, allocations: 184.1 kB / 1.436 GB, free: 14.33 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/1.051, allocations: 0.7825 MB / 1.436 GB, free: 13.5 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.221e-05/1.051, allocations: 66 kB / 1.436 GB, free: 13.44 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/1.051, allocations: 76 kB / 1.437 GB, free: 13.36 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/1.053, allocations: 0.9457 MB / 1.437 GB, free: 12.38 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/1.053, allocations: 7.938 kB / 1.438 GB, free: 12.37 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.393e-05/1.053, allocations: 43.94 kB / 1.438 GB, free: 12.33 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/1.053, allocations: 20 kB / 1.438 GB, free: 12.31 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/1.055, allocations: 1.12 MB / 1.439 GB, free: 11.19 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.004619/1.059, allocations: 2.733 MB / 1.441 GB, free: 8.34 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/1.061, allocations: 0.8537 MB / 1.442 GB, free: 7.465 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005683/1.062, allocations: 290.7 kB / 1.442 GB, free: 7.176 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.777e-05/1.062, allocations: 32.67 kB / 1.442 GB, free: 7.145 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009415/1.063, allocations: 0.5237 MB / 1.443 GB, free: 6.602 MB / 1.139 GB Notification: Performance of pre-optimization done (n=84): time 2.074e-06/1.063, allocations: 0 / 1.443 GB, free: 6.602 MB / 1.139 GB Notification: Performance of matching and sorting (n=84): time 0.003531/1.066, allocations: 1.251 MB / 1.444 GB, free: 5.328 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/1.066, allocations: 196.9 kB / 1.444 GB, free: 5.094 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/1.067, allocations: 0.6487 MB / 1.445 GB, free: 4.434 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001166/1.067, allocations: 45.7 kB / 1.445 GB, free: 4.383 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004632/1.068, allocations: 413.1 kB / 1.445 GB, free: 3.973 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000283/1.068, allocations: 277.6 kB / 1.446 GB, free: 3.699 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000286/1.068, allocations: 170.6 kB / 1.446 GB, free: 3.523 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002177/1.069, allocations: 386.8 kB / 1.446 GB, free: 3.137 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005955/1.069, allocations: 277.8 kB / 1.447 GB, free: 2.867 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006934/1.07, allocations: 375.1 kB / 1.447 GB, free: 2.484 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/1.071, allocations: 0.6281 MB / 1.447 GB, free: 1.844 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/1.071, allocations: 0 / 1.447 GB, free: 1.844 MB / 1.139 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002184/1.073, allocations: 0.8882 MB / 1.448 GB, free: 0.9492 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/1.073, allocations: 6.188 kB / 1.448 GB, free: 0.9453 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/1.073, allocations: 11.86 kB / 1.448 GB, free: 0.9336 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005896/1.074, allocations: 80.88 kB / 1.448 GB, free: 0.8516 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007078/1.075, allocations: 167.8 kB / 1.449 GB, free: 0.6875 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002396/1.077, allocations: 1.634 MB / 1.45 GB, free: 14.9 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008619/1.078, allocations: 95.55 kB / 1.45 GB, free: 14.81 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.177e-05/1.078, allocations: 35.97 kB / 1.45 GB, free: 14.77 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * 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.0005837/1.079, allocations: 284 kB / 1.451 GB, free: 14.49 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/1.079, allocations: 87.44 kB / 1.451 GB, free: 14.4 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00279/1.082, allocations: 1.132 MB / 1.452 GB, free: 13.26 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/1.082, allocations: 15.94 kB / 1.452 GB, free: 13.24 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/1.082, allocations: 0 / 1.452 GB, free: 13.24 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/1.082, allocations: 3.984 kB / 1.452 GB, free: 13.24 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003999/1.086, allocations: 2.013 MB / 1.454 GB, free: 11.16 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/1.086, allocations: 0 / 1.454 GB, free: 11.16 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007074/1.086, allocations: 151.8 kB / 1.454 GB, free: 11.01 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004662/1.087, allocations: 76.72 kB / 1.454 GB, free: 10.93 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.22e-05/1.087, allocations: 27.98 kB / 1.454 GB, free: 10.91 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002213/1.089, allocations: 1.662 MB / 1.456 GB, free: 9.098 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.089, allocations: 0 / 1.456 GB, free: 9.098 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002539/1.092, allocations: 1.053 MB / 1.457 GB, free: 8.027 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005989/1.092, allocations: 280.2 kB / 1.457 GB, free: 7.734 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/1.093, allocations: 27.95 kB / 1.457 GB, free: 7.707 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007656/1.093, allocations: 67.92 kB / 1.457 GB, free: 7.641 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/1.093, allocations: 72.89 kB / 1.457 GB, free: 7.57 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.609e-05/1.094, allocations: 40.03 kB / 1.457 GB, free: 7.531 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0007351/1.094, allocations: 463 kB / 1.458 GB, free: 7.086 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.2e-07/1.094, allocations: 8 kB / 1.458 GB, free: 7.078 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001036/1.095, allocations: 331.1 kB / 1.458 GB, free: 6.754 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.002053/1.097, allocations: 0.6169 MB / 1.459 GB, free: 6.324 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002016/1.099, allocations: 0.8352 MB / 1.459 GB, free: 5.473 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/1.099, allocations: 3.938 kB / 1.459 GB, free: 5.469 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001054/1.1, allocations: 0.508 MB / 1.46 GB, free: 4.953 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/1.102, allocations: 311.3 kB / 1.46 GB, free: 4.664 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003491/1.105, allocations: 1.722 MB / 1.462 GB, free: 2.914 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008993/1.106, allocations: 1.032 MB / 1.463 GB, free: 1.855 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008445/1.107, allocations: 262.9 kB / 1.463 GB, free: 1.594 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/1.107, allocations: 111.4 kB / 1.463 GB, free: 1.484 MB / 1.154 GB Notification: Performance of SimCode: time 6.51e-07/1.107, allocations: 7.938 kB / 1.463 GB, free: 1.477 MB / 1.154 GB Notification: Performance of Templates: time 0.03212/1.14, allocations: 16.09 MB / 1.479 GB, free: 1.555 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.902958667837083]